]> granicus.if.org Git - clang/commit
Fix two bugs exposed by array passing assert:
authorDaniel Dunbar <daniel@zuster.org>
Thu, 11 Sep 2008 00:50:25 +0000 (00:50 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 11 Sep 2008 00:50:25 +0000 (00:50 +0000)
commit91e19b2029447e75d2c7730ff888cc396874685b
treebcb7c907ee280384af96a58e1956d41aa6f3e1d2
parent9776ba0d844cf9f6888e871e3fd246ae782f76f4
Fix two bugs exposed by array passing assert:
(1) Additional arguments to variadic methods should have default
promotions applied.

(2) Additional arguments to non-variadic methods were allowed.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56084 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/Sema.h
lib/Sema/SemaExprObjC.cpp
test/CodeGenObjC/message-arrays.m [new file with mode: 0644]
test/SemaObjC/message.m