]> granicus.if.org Git - clang/commit
PR5462: Don't run off the edge of the argument array for vararg handling
authorEli Friedman <eli.friedman@gmail.com>
Sat, 14 Nov 2009 04:43:10 +0000 (04:43 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Sat, 14 Nov 2009 04:43:10 +0000 (04:43 +0000)
commit3e42ffd3a848236413caa799f1f32a87fd6d702b
tree2559ab9e49db3bc736105f5641e2a2834bad2510
parent73dd7686d68fec7b5d7faa6d230be23ccfd9c41f
PR5462: Don't run off the edge of the argument array for vararg handling
when there are more parameters in the prototype than arguments to the call.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88759 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/SemaCXX/vararg-default-arg.cpp [new file with mode: 0644]