]> granicus.if.org Git - clang/commit
Bug fix, apply default argument promotion in message sends for which
authorDaniel Dunbar <daniel@zuster.org>
Thu, 11 Sep 2008 00:04:36 +0000 (00:04 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 11 Sep 2008 00:04:36 +0000 (00:04 +0000)
commit6660c8a4cc2115929d92be83bbc54c307002a321
tree05fb7dac2a55feaf5bd5e193a8816f9d361d5a12
parent637cebb67c59765e1412c589550c8c9ba001baeb
Bug fix, apply default argument promotion in message sends for which
no method declaration was found.
 - This was allowing arrays to pass "by value" among other things.

Add assert in CodeGen that arguments cannot have array type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56080 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCall.cpp
lib/Sema/SemaExprObjC.cpp