summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate/class-template-id-2.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
commit85f90559550563863522a58a87fdc4e46e95794b (patch)
tree60f75b5419f63aa12806b5720863118e80ee658e /clang/test/SemaTemplate/class-template-id-2.cpp
parente35eabdd69d397db32c0b5b29a96fbcacdd6ea18 (diff)
downloadbcm5719-llvm-85f90559550563863522a58a87fdc4e46e95794b.tar.gz
bcm5719-llvm-85f90559550563863522a58a87fdc4e46e95794b.zip
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. llvm-svn: 98149
Diffstat (limited to 'clang/test/SemaTemplate/class-template-id-2.cpp')
-rw-r--r--clang/test/SemaTemplate/class-template-id-2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaTemplate/class-template-id-2.cpp b/clang/test/SemaTemplate/class-template-id-2.cpp
index c492a365880..d09f52476b3 100644
--- a/clang/test/SemaTemplate/class-template-id-2.cpp
+++ b/clang/test/SemaTemplate/class-template-id-2.cpp
@@ -4,7 +4,7 @@ namespace N {
template<> class A<int> { };
- template<> class A<float>; // expected-note{{forward declaration of 'class N::A<float>'}}
+ template<> class A<float>; // expected-note{{forward declaration of 'N::A<float>'}}
class B : public A<int> { };
}
OpenPOWER on IntegriCloud