]> granicus.if.org Git - clang/commit
Check for non-POD vararg argument type after default argument promotion, not
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 27 Jun 2012 20:23:58 +0000 (20:23 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 27 Jun 2012 20:23:58 +0000 (20:23 +0000)
commit83ea530f9da1b8ca57773bf53418ce9fc98f46ac
tree0e914b2c37ee777b1bea473cf0040320a664daa4
parent12d2cc71bfeb1e7be9ce00fc52feab50941cac24
Check for non-POD vararg argument type after default argument promotion, not
before, so we don't incorrectly think arguments of function type are non-POD.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159290 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/CodeGen/varargs.c