diff options
author | Nico Weber <nicolasweber@gmx.de> | 2013-05-24 23:31:57 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2013-05-24 23:31:57 +0000 |
commit | b07d448a625d7399d871079d55491c6b10316e6f (patch) | |
tree | 0d4f414bc09a4471c056a4d56ade5cf6bec553f3 /lib/Basic/SourceManager.cpp | |
parent | 4c9f58f617faec246d3111868ae7aee5edb9f546 (diff) | |
download | clang-b07d448a625d7399d871079d55491c6b10316e6f.tar.gz |
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
Diffstat (limited to 'lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions