]> granicus.if.org Git - clang/commit
IRgen: Use hasAggregateLLVMType instead of isSingleValueType() for cases that
authorDaniel Dunbar <daniel@zuster.org>
Fri, 5 Feb 2010 17:51:33 +0000 (17:51 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 5 Feb 2010 17:51:33 +0000 (17:51 +0000)
commit027627115ca1c486e420db7cd8439f25531135bb
tree75d00dedbfd3e0560594700f302c1503ff697d29
parent376338a68d467f076c2ae5fa614ec0286ea74d7c
IRgen: Use hasAggregateLLVMType instead of isSingleValueType() for cases that
need to deal with aggregates specially; this is consistent with the rest of IRgen.

Also, simplify EmitParmDecl and don't worry about using Decl::getNameAsString.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95393 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGStmt.cpp