]> granicus.if.org Git - clang/commit
Use the "undergoes default argument promotion" bit on parameters to
authorJohn McCall <rjmccall@apple.com>
Wed, 9 Mar 2011 04:27:21 +0000 (04:27 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 9 Mar 2011 04:27:21 +0000 (04:27 +0000)
commitd26bc76c98006609002d9930f8840490e88ac5b5
treef2a0c8ea750e38c4e98b006f171b137a0625f0f9
parenteecf5fa12d5426637c47d7072f0c193a8d7ff68b
Use the "undergoes default argument promotion" bit on parameters to
simplify the logic of initializing function parameters so that we don't need
both a variable declaration and a type in FunctionArgList.  This also means
that we need to propagate the CGFunctionInfo down in a lot of places rather
than recalculating it from the FAL.  There's more we can do to eliminate
redundancy here, and I've left FIXMEs behind to do it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127314 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGCXX.cpp
lib/CodeGen/CGCXXABI.cpp
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGCall.h
lib/CodeGen/CGClass.cpp
lib/CodeGen/CGDeclCXX.cpp
lib/CodeGen/CGObjC.cpp
lib/CodeGen/CGVTables.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
lib/CodeGen/CodeGenTypes.h
lib/CodeGen/ItaniumCXXABI.cpp