r196338 - Remove redundant check.
Richard Smith
richard-llvm at metafoo.co.uk
Tue Dec 3 17:01:51 PST 2013
Author: rsmith
Date: Tue Dec 3 19:01:51 2013
New Revision: 196338
URL: http://llvm.org/viewvc/llvm-project?rev=196338&view=rev
Log:
Remove redundant check.
Modified:
cfe/trunk/lib/Parse/Parser.cpp
Modified: cfe/trunk/lib/Parse/Parser.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/Parser.cpp?rev=196338&r1=196337&r2=196338&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/Parser.cpp (original)
+++ cfe/trunk/lib/Parse/Parser.cpp Tue Dec 3 19:01:51 2013
@@ -1740,10 +1740,7 @@ bool Parser::TryAnnotateTypeOrScopeToken
// 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())
More information about the cfe-commits
mailing list