From: Ted Kremenek Date: Mon, 29 Sep 2008 19:17:30 +0000 (+0000) Subject: Extend 'IsLValType' to handle BlockPointerTypes. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dfd296bae332d10a854620c059f5d9cef98764b8;p=clang Extend 'IsLValType' to handle BlockPointerTypes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56797 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/PathSensitive/RValues.h b/include/clang/Analysis/PathSensitive/RValues.h index 884f467aef..9034c0d4ae 100644 --- a/include/clang/Analysis/PathSensitive/RValues.h +++ b/include/clang/Analysis/PathSensitive/RValues.h @@ -161,7 +161,8 @@ public: } static inline bool IsLValType(QualType T) { - return T->isPointerType() || T->isObjCQualifiedIdType(); + return T->isPointerType() || T->isObjCQualifiedIdType() + || T->isBlockPointerType(); } };