From: Nico Weber Date: Mon, 2 Feb 2015 04:18:38 +0000 (+0000) Subject: Remove a comment I accidentally added in r227581. No behavior change. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b6321012762b749774c4d6aab3982b488501a45e;p=clang Remove a comment I accidentally added in r227581. No behavior change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@227777 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Parse/ParseExprCXX.cpp b/lib/Parse/ParseExprCXX.cpp index 8faec51667..506e13ac4b 100644 --- a/lib/Parse/ParseExprCXX.cpp +++ b/lib/Parse/ParseExprCXX.cpp @@ -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.