]> granicus.if.org Git - clang/commit
Add CodeGenTypes::GetFunctionType overload for getting the effective
authorDaniel Dunbar <daniel@zuster.org>
Wed, 10 Sep 2008 07:00:50 +0000 (07:00 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 10 Sep 2008 07:00:50 +0000 (07:00 +0000)
commit62d5c1b5038cdaa4a887a03c37fe1e8d00166ea0
treec78895f289418d46af0c29fc930caf0315338231
parent45c25ba11cbf8c9a461def5b03f6ee9481e06769
Add CodeGenTypes::GetFunctionType overload for getting the effective
type of a call.

Change NeXT runtime to use this instead of trying to bitcasting
internally (which doesn't respect the ABI).

Fix subtle bug, use of ConvertTypeRecursive instead of ConvertType is
bad inside GetFunctionType.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56050 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGObjCMac.cpp
lib/CodeGen/CodeGenTypes.h