commit | b07d448a625d7399d871079d55491c6b10316e6f | [log] [tgz] |
---|---|---|
author | Nico Weber <nicolasweber@gmx.de> | Fri May 24 23:31:57 2013 +0000 |
committer | Nico Weber <nicolasweber@gmx.de> | Fri May 24 23:31:57 2013 +0000 |
tree | 0d4f414bc09a4471c056a4d56ade5cf6bec553f3 | |
parent | 4c9f58f617faec246d3111868ae7aee5edb9f546 [diff] |
Warn on va_start() when called with a reference parameter. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1905.pdf 18.7p3 explicitly calls this (and some other things) out as undefined. Also move 2 other existing warnings behind the new -Wvarargs flag. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182694 91177308-0d34-0410-b5e6-96231b3b80d8