diff options
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.h')
-rw-r--r-- | clang/lib/CodeGen/CGBlocks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGBlocks.h b/clang/lib/CodeGen/CGBlocks.h index 05d66de3f99..5a0af04b24d 100644 --- a/clang/lib/CodeGen/CGBlocks.h +++ b/clang/lib/CodeGen/CGBlocks.h @@ -223,7 +223,7 @@ public: return true; if (getContext().isObjCNSObjectType(Ty)) return true; - if (getContext().isObjCObjectPointerType(Ty)) + if (Ty->isObjCObjectPointerType()) return true; return false; } |