Extend 'IsLValType' to handle BlockPointerTypes.

llvm-svn: 56797
This commit is contained in:
Ted Kremenek 2008-09-29 19:17:30 +00:00
parent e97439091f
commit 8715e1c859
1 changed files with 2 additions and 1 deletions

View File

@ -161,7 +161,8 @@ public:
}
static inline bool IsLValType(QualType T) {
return T->isPointerType() || T->isObjCQualifiedIdType();
return T->isPointerType() || T->isObjCQualifiedIdType()
|| T->isBlockPointerType();
}
};