diff options
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
-rw-r--r-- | lib/Parse/ParseDecl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index a2fdf41862..5e753a2c9e 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/lib/Parse/ParseDecl.cpp @@ -728,7 +728,7 @@ bool Parser::MaybeParseTypeSpecifier(DeclSpec &DS, int& isInvalid, return false; // simple-type-specifier: - case tok::annot_qualtypename: { + case tok::annot_typename: { isInvalid = DS.SetTypeSpecType(DeclSpec::TST_typedef, Loc, PrevSpec, Tok.getAnnotationValue()); DS.SetRangeEnd(Tok.getAnnotationEndLoc()); @@ -1255,7 +1255,7 @@ bool Parser::isTypeSpecifierQualifier() { case tok::kw_restrict: // typedef-name - case tok::annot_qualtypename: + case tok::annot_typename: return true; // GNU ObjC bizarre protocol extension: <proto1,proto2> with implicit 'id'. @@ -1340,7 +1340,7 @@ bool Parser::isDeclarationSpecifier() { case tok::kw_explicit: // typedef-name - case tok::annot_qualtypename: + case tok::annot_typename: // GNU typeof support. case tok::kw_typeof: |