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 | 182f660d8d9248e87994d3eefd8bfa86fdfb0fea (patch) | |
| tree | c0e4b401ce517fe83fb1d1fa82808bc697af950a /clang/lib/CodeGen | |
| parent | db5f1fa3d807f1777bd301a265905f03bd7a6354 (diff) | |
| download | bcm5719-llvm-182f660d8d9248e87994d3eefd8bfa86fdfb0fea.tar.gz bcm5719-llvm-182f660d8d9248e87994d3eefd8bfa86fdfb0fea.zip | |
simplify some code by using PointerLikeType.
llvm-svn: 49101
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 5f47bb78c6b..c804098ec96 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/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(); } |

