diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-02-26 19:03:24 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-02-26 19:03:24 +0000 |
commit | 24a9f6e11d222f2d9feaf5f9605c1a66006f7061 (patch) | |
tree | bda4d1a9020c3bcbed13d485eda33faa23eaba58 /lib/CodeGen/CodeGenFunction.cpp | |
parent | 4b87142aba52c76ff9ed7c9c2fe0067bd935a2f4 (diff) |
Drop uses of isPointerLikeType.
- No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65560 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp index 5fb0b2babe..2f09734666 100644 --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp @@ -82,8 +82,8 @@ bool CodeGenFunction::isObjCPointerType(QualType T) { bool CodeGenFunction::hasAggregateLLVMType(QualType T) { // FIXME: Use positive checks instead of negative ones to be more // robust in the face of extension. - return !isObjCPointerType(T) &&!T->isRealType() && !T->isPointerLikeType() && - !T->isVoidType() && !T->isVectorType() && !T->isFunctionType() && + return !isObjCPointerType(T) &&!T->isRealType() && !T->isPointerType() && + !T->isReferenceType() && !T->isVoidType() && !T->isVectorType() && !T->isFunctionType() && !T->isBlockPointerType(); } |