]> granicus.if.org Git - clang/commit
Daniel convinced me that accepting "const va_list" arguments to va_arg is
authorChris Lattner <sabre@nondot.org>
Mon, 6 Apr 2009 17:07:34 +0000 (17:07 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 6 Apr 2009 17:07:34 +0000 (17:07 +0000)
commit3f419761288f6ce8ffc284e9e241c28b536fce35
tree0c87258d5664b94ab8541ca4739f41445905d11e
parent50efe0483563b12dc8e005068c85d68dc1f7d9ae
Daniel convinced me that accepting "const va_list" arguments to va_arg is
a really really bad idea.  Now that we emit an error about the unpromoted
type, users should be able to understand what is going on.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68447 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/Sema/varargs-x86-64.c