StmtPrinter: factor out arg printing code to PrintCallArgs
[clang.git] / test / CodeCompletion / enum-switch-case.cpp
blob2677f33f98f27308d3f59acafeb14ab5b3c808db
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=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