diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-07-23 03:17:06 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-07-23 03:17:06 +0000 |
| commit | a4bb292095482300a74170e4e297055549a38736 (patch) | |
| tree | d464e0811f4a05adffcc1ac39e868cb34fd27493 /clang/test/SemaCXX/cxx11-ast-print.cpp | |
| parent | f98b00c33e83cb507c21107e8c56961a4b043509 (diff) | |
| download | bcm5719-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.cpp | 2 |
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; |

