aboutsummaryrefslogtreecommitdiff
path: root/test/CodeCompletion/enum-switch-case.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-03-10 11:27:22 +0000
committerJohn McCall <rjmccall@apple.com>2010-03-10 11:27:22 +0000
commit7c2342dd4c9947806842e5aca3d2bb2e542853c9 (patch)
tree9791dad988e7ab05776a61a84c66234aeef17f31 /test/CodeCompletion/enum-switch-case.cpp
parente5ea0cae7769866b5a5f9fa979e7c9d1d23a6bcc (diff)
When pretty-printing tag types, only print the tag if we're in C (and
therefore not creating ElaboratedTypes, which are still pretty-printed with the written tag). Most of these testcase changes were done by script, so don't feel too sorry for my fingers. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98149 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeCompletion/enum-switch-case.cpp')
-rw-r--r--test/CodeCompletion/enum-switch-case.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeCompletion/enum-switch-case.cpp b/test/CodeCompletion/enum-switch-case.cpp
index 412f5f2f07..2677f33f98 100644
--- a/test/CodeCompletion/enum-switch-case.cpp
+++ b/test/CodeCompletion/enum-switch-case.cpp
@@ -20,9 +20,9 @@ void test(enum N::Color color) {
case
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:21:8 %s -o - | FileCheck -check-prefix=CC1 %s
- // CHECK-CC1: Blue : [#enum N::Color#]N::Blue
- // CHECK-CC1-NEXT: Green : [#enum N::Color#]N::Green
- // CHECK-CC1-NEXT: Indigo : [#enum N::Color#]N::Indigo
- // CHECK-CC1-NEXT: Orange : [#enum N::Color#]N::Orange
- // CHECK-CC1-NEXT: Violet : [#enum N::Color#]N::Violet
+ // CHECK-CC1: Blue : [#N::Color#]N::Blue
+ // CHECK-CC1-NEXT: Green : [#N::Color#]N::Green
+ // CHECK-CC1-NEXT: Indigo : [#N::Color#]N::Indigo
+ // CHECK-CC1-NEXT: Orange : [#N::Color#]N::Orange
+ // CHECK-CC1-NEXT: Violet : [#N::Color#]N::Violet