]> granicus.if.org Git - clang/commitdiff
Remove a comment I accidentally added in r227581. No behavior change.
authorNico Weber <nicolasweber@gmx.de>
Mon, 2 Feb 2015 04:18:38 +0000 (04:18 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 2 Feb 2015 04:18:38 +0000 (04:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@227777 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Parse/ParseExprCXX.cpp

index 8faec51667b0b4ff26c2940aceb7cfa005dff14c..506e13ac4ba307ea45b442af3a40985c7c12cf5d 100644 (file)
@@ -2509,8 +2509,7 @@ bool Parser::ParseUnqualifiedId(CXXScopeSpec &SS, bool EnteringContext,
 
     // 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.