aboutsummaryrefslogtreecommitdiff
path: root/test/CodeCompletion/enum-switch-case-qualified.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-qualified.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-qualified.cpp')
-rw-r--r--test/CodeCompletion/enum-switch-case-qualified.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/CodeCompletion/enum-switch-case-qualified.cpp b/test/CodeCompletion/enum-switch-case-qualified.cpp
index b9efcb43ed..e74ec9b5fe 100644
--- a/test/CodeCompletion/enum-switch-case-qualified.cpp
+++ b/test/CodeCompletion/enum-switch-case-qualified.cpp
@@ -22,11 +22,11 @@ void test(enum N::C::Color color) {
switch (color) {
case
// RUN: %clang_cc1 -fsyntax-only -code-completion-at=%s:23:8 %s -o - | FileCheck -check-prefix=CC1 %s
- // CHECK-CC1: Blue : [#enum M::N::C::Color#]N::C::Blue
- // CHECK-CC1-NEXT: Green : [#enum M::N::C::Color#]N::C::Green
- // CHECK-CC1-NEXT: Indigo : [#enum M::N::C::Color#]N::C::Indigo
- // CHECK-CC1-NEXT: Orange : [#enum M::N::C::Color#]N::C::Orange
- // CHECK-CC1-NEXT: Red : [#enum M::N::C::Color#]N::C::Red
- // CHECK-CC1-NEXT: Violet : [#enum M::N::C::Color#]N::C::Violet
- // CHECK-CC1: Yellow : [#enum M::N::C::Color#]N::C::Yellow
+ // CHECK-CC1: Blue : [#M::N::C::Color#]N::C::Blue
+ // CHECK-CC1-NEXT: Green : [#M::N::C::Color#]N::C::Green
+ // CHECK-CC1-NEXT: Indigo : [#M::N::C::Color#]N::C::Indigo
+ // CHECK-CC1-NEXT: Orange : [#M::N::C::Color#]N::C::Orange
+ // CHECK-CC1-NEXT: Red : [#M::N::C::Color#]N::C::Red
+ // CHECK-CC1-NEXT: Violet : [#M::N::C::Color#]N::C::Violet
+ // CHECK-CC1: Yellow : [#M::N::C::Color#]N::C::Yellow