aboutsummaryrefslogtreecommitdiff
path: root/lib/Format/Format.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-01-21 14:39:22 +0000
committerDaniel Jasper <djasper@google.com>2013-01-21 14:39:22 +0000
commit032f25329565adfc542f001953565091eccba130 (patch)
tree186a63f8a58eb0b901cdcf1eb078275f67d2488f /lib/Format/Format.cpp
parentd19dc2ddf3f8630cfdbefec490c0000c14bee6bd (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173047 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/Format.cpp')
-rw-r--r--lib/Format/Format.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp
index a4de062fbf..12fd070cfe 100644
--- a/lib/Format/Format.cpp
+++ b/lib/Format/Format.cpp
@@ -1006,7 +1006,6 @@ public:
if (!parseAngle())
return false;
CurrentToken->Parent->ClosesTemplateDeclaration = true;
- parseLine();
return true;
}
return false;