diff options
author | Chris Lattner <sabre@nondot.org> | 2008-04-02 17:45:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-04-02 17:45:06 +0000 |
commit | 423a3c9c2719fb75133673e72ac881719df45daf (patch) | |
tree | afd5abc5af0f3a1abeea3c690471a8382ca60a47 /lib/CodeGen/CodeGenFunction.cpp | |
parent | bdcd637c29ec1540f912ea6860c88b910e78c329 (diff) |
simplify some code by using PointerLikeType.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49101 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp index 5f47bb78c6..c804098ec9 100644 --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp @@ -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(); } |