diff options
Diffstat (limited to 'clang/lib/Analysis/CFRefCount.cpp')
-rw-r--r-- | clang/lib/Analysis/CFRefCount.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp index 9ed4f1db293..08bad5b155f 100644 --- a/clang/lib/Analysis/CFRefCount.cpp +++ b/clang/lib/Analysis/CFRefCount.cpp @@ -335,8 +335,7 @@ CFRefSummaryManager::getUnaryCFSummary(FunctionTypeProto* FT, CFUnaryFunc func) if (strcmp("CFTypeRef", TDName) != 0) return NULL; - if (!ArgT->isPointerType()) - return NULL; + assert (ArgT->isPointerType() || ArgT->isObjCQualifiedIdType()); QualType RetTy = FT->getResultType(); |