diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2010-11-08 22:53:18 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-11-08 22:53:18 +0000 |
| commit | 94ad274c249527f82387413ad0876e7571bbf926 (patch) | |
| tree | d017d4645a538ffac2e2eb0b7c2dcd4cd910e069 /clang/lib/AST/ASTContext.cpp | |
| parent | 99adaf4cc1d0114a64b11ed5478fadf863a857a4 (diff) | |
| download | bcm5719-llvm-94ad274c249527f82387413ad0876e7571bbf926.tar.gz bcm5719-llvm-94ad274c249527f82387413ad0876e7571bbf926.zip | |
Provide a precise builtin declaration for objc_msgSend
to avoid a bogus warning. Fixes //rdar: //8632525
llvm-svn: 118451
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
| -rw-r--r-- | clang/lib/AST/ASTContext.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index b2451a2d867..26e53ca57a6 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -5384,6 +5384,12 @@ static QualType DecodeTypeFromStr(const char *&Str, ASTContext &Context, case 'F': Type = Context.getCFConstantStringType(); break; + case 'G': + Type = Context.getObjCIdType(); + break; + case 'H': + Type = Context.getObjCSelType(); + break; case 'a': Type = Context.getBuiltinVaListType(); assert(!Type.isNull() && "builtin va list type not initialized!"); |

