simplify some code by using PointerLikeType.

llvm-svn: 49101
This commit is contained in:
Chris Lattner
2008-04-02 17:45:06 +00:00
parent db5f1fa3d8
commit 182f660d8d
5 changed files with 7 additions and 8 deletions

View File

@@ -51,7 +51,7 @@ const llvm::Type *CodeGenFunction::ConvertType(QualType T) {
}
bool CodeGenFunction::hasAggregateLLVMType(QualType T) {
return !T->isRealType() && !T->isPointerType() && !T->isReferenceType() &&
return !T->isRealType() && !T->isPointerLikeType() &&
!T->isVoidType() && !T->isVectorType() && !T->isFunctionType();
}