diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-09-29 19:17:30 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-09-29 19:17:30 +0000 |
commit | dfd296bae332d10a854620c059f5d9cef98764b8 (patch) | |
tree | 45615ecf545b8125efd0b20fc002a863403aa764 | |
parent | b440686eeed95c618ead89011d3814671b13ff6e (diff) |
Extend 'IsLValType' to handle BlockPointerTypes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56797 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Analysis/PathSensitive/RValues.h | 3 |
1 files changed, 2 insertions, 1 deletions
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(); } }; |