From: Richard Smith Date: Thu, 8 May 2014 22:32:00 +0000 (+0000) Subject: Fix an outdated comment. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eda06b9b7da8a8851029b9db3a5e41987f175ce4;p=clang Fix an outdated comment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208366 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index 3c1c378dbf..eede235ad3 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/lib/Parse/ParseDecl.cpp @@ -2018,7 +2018,7 @@ static bool isValidAfterIdentifierInDeclarator(const Token &T) { /// bool Parser::ParseImplicitInt(DeclSpec &DS, CXXScopeSpec *SS, const ParsedTemplateInfo &TemplateInfo, - AccessSpecifier AS, DeclSpecContext DSC, + AccessSpecifier AS, DeclSpecContext DSC, ParsedAttributesWithRange &Attrs) { assert(Tok.is(tok::identifier) && "should have identifier"); @@ -2122,9 +2122,8 @@ bool Parser::ParseImplicitInt(DeclSpec &DS, CXXScopeSpec *SS, // x(int n); // 'x' is not a type // x (*p)[]; // 'x' is a type // - // Since we're in an error case (or the rare 'implicit int in C++' MS - // extension), we can afford to perform a tentative parse to determine - // which case we're in. + // Since we're in an error case, we can afford to perform a tentative + // parse to determine which case we're in. TentativeParsingAction PA(*this); ConsumeToken(); TPResult TPR = TryParseDeclarator(/*mayBeAbstract*/false);