Teach the static analysis engine about ObjCQualifiedIdType.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50493 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/CFRefCount.cpp b/lib/Analysis/CFRefCount.cpp
index 9ed4f1d..08bad5b 100644
--- a/lib/Analysis/CFRefCount.cpp
+++ b/lib/Analysis/CFRefCount.cpp
@@ -335,8 +335,7 @@
if (strcmp("CFTypeRef", TDName) != 0)
return NULL;
- if (!ArgT->isPointerType())
- return NULL;
+ assert (ArgT->isPointerType() || ArgT->isObjCQualifiedIdType());
QualType RetTy = FT->getResultType();