r227777 - Remove a comment I accidentally added in r227581. No behavior change.
Nico Weber
nicolasweber at gmx.de
Sun Feb 1 20:18:38 PST 2015
Author: nico
Date: Sun Feb 1 22:18:38 2015
New Revision: 227777
URL: http://llvm.org/viewvc/llvm-project?rev=227777&view=rev
Log:
Remove a comment I accidentally added in r227581. No behavior change.
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=227777&r1=227776&r2=227777&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseExprCXX.cpp (original)
+++ cfe/trunk/lib/Parse/ParseExprCXX.cpp Sun Feb 1 22:18:38 2015
@@ -2509,8 +2509,7 @@ bool Parser::ParseUnqualifiedId(CXXScope
// If the user wrote ~T::T, correct it to T::~T.
DeclaratorScopeObj DeclScopeObj(*this, SS);
- if (!TemplateSpecified && //!ColonIsSacred &&
- NextToken().is(tok::coloncolon)) {
+ if (!TemplateSpecified && NextToken().is(tok::coloncolon)) {
// Don't let ParseOptionalCXXScopeSpecifier() "correct"
// `int A; struct { ~A::A(); };` to `int A; struct { ~A:A(); };`,
// it will confuse this recovery logic.
More information about the cfe-commits
mailing list