diff options
author | Chris Lattner <sabre@nondot.org> | 2009-01-06 05:06:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-01-06 05:06:21 +0000 |
commit | b31757b68afe06ba442a05775d08fe7aa0f6f889 (patch) | |
tree | 27be8c2aee21b33df61f25ee90f352dfa020ad12 /lib/Parse/ParseDecl.cpp | |
parent | c792f1fa9d2c4d16dbccd34e2b57868a75f3d009 (diff) |
rename tok::annot_qualtypename -> tok::annot_typename, which is both
shorter and more accurate. The type name might not be qualified.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61788 91177308-0d34-0410-b5e6-96231b3b80d8
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: |