summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBlocks.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.h')
-rw-r--r--clang/lib/CodeGen/CGBlocks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.h b/clang/lib/CodeGen/CGBlocks.h
index 58276c294d8..e065e003d4e 100644
--- a/clang/lib/CodeGen/CGBlocks.h
+++ b/clang/lib/CodeGen/CGBlocks.h
@@ -207,6 +207,8 @@ public:
return true;
if (getContext().isObjCNSObjectType(Ty))
return true;
+ if (getContext().isObjCObjectPointerType(Ty))
+ return true;
return false;
}
};
OpenPOWER on IntegriCloud