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/Parser.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/Parser.cpp')
-rw-r--r-- | lib/Parse/Parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/Parser.cpp b/lib/Parse/Parser.cpp index 4984ebaff8..e06d80e06d 100644 --- a/lib/Parse/Parser.cpp +++ b/lib/Parse/Parser.cpp @@ -761,7 +761,7 @@ bool Parser::TryAnnotateTypeOrScopeToken() { CurScope, &SS)) { // This is a typename. Replace the current token in-place with an // annotation type token. - Tok.setKind(tok::annot_qualtypename); + Tok.setKind(tok::annot_typename); Tok.setAnnotationValue(Ty); Tok.setAnnotationEndLoc(Tok.getLocation()); if (SS.isNotEmpty()) // it was a C++ qualified type name. |