]> granicus.if.org Git - clang/commit
objc IRGen for Next runtime message API.
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 1 Mar 2011 17:28:13 +0000 (17:28 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 1 Mar 2011 17:28:13 +0000 (17:28 +0000)
commitc0ddef23136368ce1bd882f7edd43591c8f30aa6
tree6a6dbb3fd75cbe69820b08530635cd644f39c932
parent2786864406af0f3ec65b300675c6f3c809c22fd7
objc IRGen for Next runtime message API.
The prototype for objc_msgSend() is technically variadic -
`id objc_msgSend(id, SEL, ...)`.
But all method calls should use a prototype that matches the method,
not the prototype for objc_msgSend itself().
// rdar://9048030

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126754 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
lib/CodeGen/CGObjCMac.cpp
test/CodeGenObjC/fpret.m
test/CodeGenObjC/messages.m
test/CodeGenObjC/no-vararg-messaging.m [new file with mode: 0644]