aboutsummaryrefslogtreecommitdiff
path: root/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2007-10-12 23:56:29 +0000
committerAnders Carlsson <andersca@mac.com>2007-10-12 23:56:29 +0000
commit793680ed8104bf088d1b382b963a8badcb3f07de (patch)
tree35f58dee2b3b7beafb328157f6591c05a0f621bc /CodeGen/CodeGenFunction.cpp
parent1109b42c036029c6ac49500af06efc15a627f5e8 (diff)
Generate code for va_start and va_end.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42939 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenFunction.cpp')
-rw-r--r--CodeGen/CodeGenFunction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/CodeGen/CodeGenFunction.cpp b/CodeGen/CodeGenFunction.cpp
index 80c75afdb8..1457ec5606 100644
--- a/CodeGen/CodeGenFunction.cpp
+++ b/CodeGen/CodeGenFunction.cpp
@@ -46,8 +46,8 @@ const llvm::Type *CodeGenFunction::ConvertType(QualType T) {
}
bool CodeGenFunction::hasAggregateLLVMType(QualType T) {
- return !T->isRealType() && !T->isPointerType() && !T->isVoidType() &&
- !T->isVectorType() && !T->isFunctionType();
+ return !T->isRealType() && !T->isPointerType() && !T->isReferenceType() &&
+ !T->isVoidType() && !T->isVectorType() && !T->isFunctionType();
}