[cfe-commits] r143907 - /cfe/trunk/lib/Parse/ParseExprCXX.cpp
David Blaikie
dblaikie at gmail.com
Sun Nov 6 19:30:03 PST 2011
Author: dblaikie
Date: Sun Nov 6 21:30:03 2011
New Revision: 143907
URL: http://llvm.org/viewvc/llvm-project?rev=143907&view=rev
Log:
Remove duplicate word & unnecessary conditional.
Modified:
cfe/trunk/lib/Parse/ParseExprCXX.cpp
Modified: cfe/trunk/lib/Parse/ParseExprCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseExprCXX.cpp?rev=143907&r1=143906&r2=143907&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseExprCXX.cpp (original)
+++ cfe/trunk/lib/Parse/ParseExprCXX.cpp Sun Nov 6 21:30:03 2011
@@ -283,8 +283,7 @@
assert(Tok.is(tok::coloncolon) && "NextToken() not working properly!");
SourceLocation CCLoc = ConsumeToken();
- if (!HasScopeSpecifier)
- HasScopeSpecifier = true;
+ HasScopeSpecifier = true;
ASTTemplateArgsPtr TemplateArgsPtr(Actions,
TemplateId->getTemplateArgs(),
@@ -381,7 +380,7 @@
EnteringContext,
Template,
MemberOfUnknownSpecialization)) {
- // We have found a template name, so annotate this this token
+ // We have found a template name, so annotate this token
// with a template-id annotation. We do not permit the
// template-id to be translated into a type annotation,
// because some clients (e.g., the parsing of class template
More information about the cfe-commits
mailing list