diff options
author | John McCall <rjmccall@apple.com> | 2011-04-09 22:50:59 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-04-09 22:50:59 +0000 |
commit | a5fc472b353b88be3b4981da946fb01f5a5cc0c6 (patch) | |
tree | 6d7bbf117ee1d4f5e5742e5fa1826461d56059ca /lib/Sema/DeclSpec.cpp | |
parent | 5536daa627b508299007b735a588bf4e88825bb3 (diff) |
Fix a bunch of major problems with __unknown_anytype and properly test
for them. The only major missing feature is references.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129234 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/DeclSpec.cpp')
-rw-r--r-- | lib/Sema/DeclSpec.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Sema/DeclSpec.cpp b/lib/Sema/DeclSpec.cpp index cad3b58d76..0f20d10b07 100644 --- a/lib/Sema/DeclSpec.cpp +++ b/lib/Sema/DeclSpec.cpp @@ -309,6 +309,7 @@ const char *DeclSpec::getSpecifierName(DeclSpec::TST T) { case DeclSpec::TST_typeofExpr: return "typeof"; case DeclSpec::TST_auto: return "auto"; case DeclSpec::TST_decltype: return "(decltype)"; + case DeclSpec::TST_unknown_anytype: return "__unknown_anytype"; case DeclSpec::TST_error: return "(error)"; } llvm_unreachable("Unknown typespec!"); |