diff options
author | Anders Carlsson <andersca@mac.com> | 2007-10-12 23:56:29 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2007-10-12 23:56:29 +0000 |
commit | 24ebce6fcaa2813b8fb70cccd8be29796192a7aa (patch) | |
tree | 6b16e2085e48a0a4ab01cdbf89fa5c6d8c2c32e7 /clang/CodeGen/CodeGenFunction.cpp | |
parent | fd0312ed792f0d7e6e890fe92865a7abad96617e (diff) | |
download | bcm5719-llvm-24ebce6fcaa2813b8fb70cccd8be29796192a7aa.tar.gz bcm5719-llvm-24ebce6fcaa2813b8fb70cccd8be29796192a7aa.zip |
Generate code for va_start and va_end.
llvm-svn: 42939
Diffstat (limited to 'clang/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/CodeGen/CodeGenFunction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/CodeGen/CodeGenFunction.cpp b/clang/CodeGen/CodeGenFunction.cpp index 80c75afdb81..1457ec56060 100644 --- a/clang/CodeGen/CodeGenFunction.cpp +++ b/clang/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(); } |