r208366 - Fix an outdated comment.
Richard Smith
richard-llvm at metafoo.co.uk
Thu May 8 15:32:00 PDT 2014
Author: rsmith
Date: Thu May 8 17:32:00 2014
New Revision: 208366
URL: http://llvm.org/viewvc/llvm-project?rev=208366&view=rev
Log:
Fix an outdated comment.
Modified:
cfe/trunk/lib/Parse/ParseDecl.cpp
Modified: cfe/trunk/lib/Parse/ParseDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseDecl.cpp?rev=208366&r1=208365&r2=208366&view=diff
==============================================================================
--- cfe/trunk/lib/Parse/ParseDecl.cpp (original)
+++ cfe/trunk/lib/Parse/ParseDecl.cpp Thu May 8 17:32:00 2014
@@ -2018,7 +2018,7 @@ static bool isValidAfterIdentifierInDecl
///
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 &
// 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);
More information about the cfe-commits
mailing list