[cfe-commits] r56797 - /cfe/trunk/include/clang/Analysis/PathSensitive/RValues.h

Ted Kremenek kremenek at apple.com
Mon Sep 29 12:17:32 PDT 2008


Author: kremenek
Date: Mon Sep 29 14:17:30 2008
New Revision: 56797

URL: http://llvm.org/viewvc/llvm-project?rev=56797&view=rev
Log:
Extend 'IsLValType' to handle BlockPointerTypes.

Modified:
    cfe/trunk/include/clang/Analysis/PathSensitive/RValues.h

Modified: cfe/trunk/include/clang/Analysis/PathSensitive/RValues.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/RValues.h?rev=56797&r1=56796&r2=56797&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/RValues.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/RValues.h Mon Sep 29 14:17:30 2008
@@ -161,7 +161,8 @@
   }
   
   static inline bool IsLValType(QualType T) {
-    return T->isPointerType() || T->isObjCQualifiedIdType();
+    return T->isPointerType() || T->isObjCQualifiedIdType() 
+      || T->isBlockPointerType();
   }
 };
   





More information about the cfe-commits mailing list