[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeCompletion / ignore-ns-level-decls.cpp
blob59cee6536a5dd03b5880e8719464d70983c7d787
1 namespace ns {
2 struct bar {
3 };
5 struct baz {
6 };
8 int func(int a, bar b, baz c);
11 void test() {
12 ns::
13 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:12:7 %s -o - | FileCheck %s --check-prefix=CHECK-1
14 // CHECK-1-DAG: COMPLETION: bar : bar
15 // CHECK-1-DAG: COMPLETION: baz : baz
16 // CHECK-1-DAG: COMPLETION: func : [#int#]func(<#int a#>, <#bar b#>, <#baz c#>)
18 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:12:7 -no-code-completion-ns-level-decls %s -o - | FileCheck %s --allow-empty --check-prefix=CHECK-EMPTY
19 // CHECK-EMPTY-NOT: COMPLETION: bar : bar
20 // CHECK-EMPTY: {{^}}{{$}}