summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-26 19:03:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-26 19:03:24 +0000
commite2617d97a588d29b2d50b050e5cef0c22059031c (patch)
treed6adb64b6bec12caf09f218dbec1757bd92628ec /clang/lib/CodeGen/CodeGenFunction.cpp
parent265fc59cb2787dd2a634ff2317793eff5144da97 (diff)
downloadbcm5719-llvm-e2617d97a588d29b2d50b050e5cef0c22059031c.tar.gz
bcm5719-llvm-e2617d97a588d29b2d50b050e5cef0c22059031c.zip
Drop uses of isPointerLikeType.
- No functionality change. llvm-svn: 65560
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index 5fb0b2babe1..2f097346665 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/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();
}
OpenPOWER on IntegriCloud