[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeCompletion / enum-switch-case.cpp
blob997845afe5845bca028b2435dc57ff79217ae26d
1 namespace N {
2 enum Color {
3 Red,
4 Orange,
5 Yellow,
6 Green,
7 Blue,
8 Indigo,
9 Violet
13 void test(enum N::Color color) {
14 switch (color) {
15 case N::Red:
16 break;
18 case N::Yellow:
19 break;
21 case
22 // RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:21:8 %s -o - | FileCheck -check-prefix=CHECK-CC1 %s
23 // CHECK-CC1: Blue : [#N::Color#]N::Blue
24 // CHECK-CC1-NEXT: Green : [#N::Color#]N::Green
25 // CHECK-CC1-NEXT: Indigo : [#N::Color#]N::Indigo
26 // CHECK-CC1-NEXT: Orange : [#N::Color#]N::Orange
27 // CHECK-CC1-NEXT: Violet : [#N::Color#]N::Violet