]> granicus.if.org Git - clang/commitdiff
Extend 'IsLValType' to handle BlockPointerTypes.
authorTed Kremenek <kremenek@apple.com>
Mon, 29 Sep 2008 19:17:30 +0000 (19:17 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 29 Sep 2008 19:17:30 +0000 (19:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56797 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/PathSensitive/RValues.h

index 884f467aef4f05a21b22381dabc2d69059275be9..9034c0d4ae2a447b1e8e38032311594ef98321ac 100644 (file)
@@ -161,7 +161,8 @@ public:
   }
   
   static inline bool IsLValType(QualType T) {
-    return T->isPointerType() || T->isObjCQualifiedIdType();
+    return T->isPointerType() || T->isObjCQualifiedIdType() 
+      || T->isBlockPointerType();
   }
 };