summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ASTContext.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2011-08-23 23:33:09 +0000
committerFariborz Jahanian <fjahanian@apple.com>2011-08-23 23:33:09 +0000
commit73952fc263aa60b84bcf30adc23d798464de07bc (patch)
tree34f5151e2a71255dda5ba11345f44bdcf4623ad1 /clang/lib/AST/ASTContext.cpp
parent7a98a7e681a309a7148baddfbd5508ac79b24833 (diff)
downloadbcm5719-llvm-73952fc263aa60b84bcf30adc23d798464de07bc.tar.gz
bcm5719-llvm-73952fc263aa60b84bcf30adc23d798464de07bc.zip
objc - fix up the builtin type for objc_assign_ivar.
// rdar://9362887. llvm-svn: 138412
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
-rw-r--r--clang/lib/AST/ASTContext.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp
index 1b2c5cf4187..75a573e301b 100644
--- a/clang/lib/AST/ASTContext.cpp
+++ b/clang/lib/AST/ASTContext.cpp
@@ -6140,7 +6140,11 @@ static QualType DecodeTypeFromStr(const char *&Str, const ASTContext &Context,
assert(!RequiresICE && "Can't require complex ICE");
Type = Context.getComplexType(ElementType);
break;
- }
+ }
+ case 'Y' : {
+ Type = Context.getPointerDiffType();
+ break;
+ }
case 'P':
Type = Context.getFILEType();
if (Type.isNull()) {
OpenPOWER on IntegriCloud