forked from OSchip/llvm-project
Extend 'IsLValType' to handle BlockPointerTypes.
llvm-svn: 56797
This commit is contained in:
parent
e97439091f
commit
8715e1c859
|
@ -161,7 +161,8 @@ public:
|
|||
}
|
||||
|
||||
static inline bool IsLValType(QualType T) {
|
||||
return T->isPointerType() || T->isObjCQualifiedIdType();
|
||||
return T->isPointerType() || T->isObjCQualifiedIdType()
|
||||
|| T->isBlockPointerType();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue