summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/cxx11-ast-print.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-07-23 03:17:06 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-07-23 03:17:06 +0000
commita4bb292095482300a74170e4e297055549a38736 (patch)
treed464e0811f4a05adffcc1ac39e868cb34fd27493 /clang/test/SemaCXX/cxx11-ast-print.cpp
parentf98b00c33e83cb507c21107e8c56961a4b043509 (diff)
downloadbcm5719-llvm-a4bb292095482300a74170e4e297055549a38736.tar.gz
bcm5719-llvm-a4bb292095482300a74170e4e297055549a38736.zip
When pretty-printing a declaration of a pack, put the ellipsis before the name
being declared, not at the end. When pretty-printing a non-type template parameter, put the name of the parameter in the middle of the type, not at the end. llvm-svn: 213718
Diffstat (limited to 'clang/test/SemaCXX/cxx11-ast-print.cpp')
-rw-r--r--clang/test/SemaCXX/cxx11-ast-print.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/cxx11-ast-print.cpp b/clang/test/SemaCXX/cxx11-ast-print.cpp
index f7bfc1123a7..5604374c561 100644
--- a/clang/test/SemaCXX/cxx11-ast-print.cpp
+++ b/clang/test/SemaCXX/cxx11-ast-print.cpp
@@ -15,7 +15,7 @@ decltype(4.5_baz) operator"" _baz(char);
// CHECK: const char *operator "" _quux(const char *);
const char *operator"" _quux(const char *);
-// CHECK: template <char...> const char *operator "" _fritz();
+// CHECK: template <char ...> const char *operator "" _fritz();
template<char...> const char *operator"" _fritz();
// CHECK: const char *p1 = "bar1"_foo;
OpenPOWER on IntegriCloud