diff options
author | Daniel Jasper <djasper@google.com> | 2013-01-21 14:39:22 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-01-21 14:39:22 +0000 |
commit | c228619bb1835a11f0e07479d05b51db534eb117 (patch) | |
tree | 73c4ff01f33220bfe14ec06b909d2a61f49f3573 /clang/lib/Format | |
parent | 89b13a7cf3ca9f1ac3d741d5877733753608330f (diff) | |
download | bcm5719-llvm-c228619bb1835a11f0e07479d05b51db534eb117.tar.gz bcm5719-llvm-c228619bb1835a11f0e07479d05b51db534eb117.zip |
Fix parsing of templated declarations.
Before: template <template <typename T>, typename P > class X;
After: template <template <typename T>, typename P> class X;
More importantly, the token annotations for the second ">" are now computed
correctly.
llvm-svn: 173047
Diffstat (limited to 'clang/lib/Format')
-rw-r--r-- | clang/lib/Format/Format.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index a4de062fbfd..12fd070cfed 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp @@ -1006,7 +1006,6 @@ public: if (!parseAngle()) return false; CurrentToken->Parent->ClosesTemplateDeclaration = true; - parseLine(); return true; } return false; |