diff options
author | Steve Naroff <snaroff@apple.com> | 2007-07-31 12:34:36 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2007-07-31 12:34:36 +0000 |
commit | d1861fd633d5096a00777c918eb8575ea7162fe7 (patch) | |
tree | cd71c78f1c513b18ab427f6036aa2debdcb7d93a /Parse/DeclSpec.cpp | |
parent | 8a2bc625e86983e250ed31040695a870a767196b (diff) |
Add parsing and AST support for GNU "typeof".
Many small changes to lot's of files.
Still some FIXME's, however the basic support is in place.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40631 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Parse/DeclSpec.cpp')
-rw-r--r-- | Parse/DeclSpec.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Parse/DeclSpec.cpp b/Parse/DeclSpec.cpp index d3ddf47a83..31338d81df 100644 --- a/Parse/DeclSpec.cpp +++ b/Parse/DeclSpec.cpp @@ -98,6 +98,8 @@ const char *DeclSpec::getSpecifierName(DeclSpec::TST T) { case DeclSpec::TST_union: return "union"; case DeclSpec::TST_struct: return "struct"; case DeclSpec::TST_typedef: return "typedef"; + case DeclSpec::TST_typeofType: + case DeclSpec::TST_typeofExpr: return "typeof"; } } |