diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-12-04 01:01:51 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-12-04 01:01:51 +0000 |
commit | ff78338f294a4be18ab88a02b32a4d03ed6eabc4 (patch) | |
tree | 837213a8f6c59f94db704bd717ae4b815b5d58d6 /clang/lib/Parse/Parser.cpp | |
parent | 8f65806b35e7bc476b3a84a694b9cedb57eba1e6 (diff) | |
download | bcm5719-llvm-ff78338f294a4be18ab88a02b32a4d03ed6eabc4.tar.gz bcm5719-llvm-ff78338f294a4be18ab88a02b32a4d03ed6eabc4.zip |
Remove redundant check.
llvm-svn: 196338
Diffstat (limited to 'clang/lib/Parse/Parser.cpp')
-rw-r--r-- | clang/lib/Parse/Parser.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/lib/Parse/Parser.cpp b/clang/lib/Parse/Parser.cpp index c4c0898661b..66ed352ef68 100644 --- a/clang/lib/Parse/Parser.cpp +++ b/clang/lib/Parse/Parser.cpp @@ -1740,10 +1740,7 @@ bool Parser::TryAnnotateTypeOrScopeTokenAfterScopeSpec(bool EnteringContext, // annotation token to a type annotation token now. AnnotateTemplateIdTokenAsType(); return false; - } else if (TemplateId->Kind == TNK_Var_template) - // FIXME: This looks suspicious. Why are we not annotating the scope token - // in this case? - return false; + } } if (SS.isEmpty()) |