forked from OSchip/llvm-project
Remove a comment I accidentally added in r227581. No behavior change.
llvm-svn: 227777
This commit is contained in:
parent
15be546140
commit
10d02b5604
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue