aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2013-05-24 23:31:57 +0000
committerNico Weber <nicolasweber@gmx.de>2013-05-24 23:31:57 +0000
commit9eea764a1fafb5883286b088422e2ec77db25dec (patch)
treefd0183607e3c98d63bf26460d9a2d72f1786506d /clang/lib/Basic/SourceManager.cpp
parentba63e07f3a8b698b300b154abd2dcc49ba197f69 (diff)
downloadllvm-9eea764a1fafb5883286b088422e2ec77db25dec.zip
llvm-9eea764a1fafb5883286b088422e2ec77db25dec.tar.gz
llvm-9eea764a1fafb5883286b088422e2ec77db25dec.tar.bz2
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. llvm-svn: 182694
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions