aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Archive.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2012-05-24 00:47:05 +0000
committerEli Friedman <eli.friedman@gmail.com>2012-05-24 00:47:05 +0000
commitc11535c248cfa3744eb273b3af282097924950d1 (patch)
treedbff56390aa8b7ef911b14cc32ccf90c45e30e0d /llvm/lib/Object/Archive.cpp
parenta95ce623d830d8bb488ef28e212b42d3166faf07 (diff)
downloadllvm-c11535c248cfa3744eb273b3af282097924950d1.zip
llvm-c11535c248cfa3744eb273b3af282097924950d1.tar.gz
llvm-c11535c248cfa3744eb273b3af282097924950d1.tar.bz2
Add a warning to diagnose statements in C++ like "*(volatile int*)x;". Conceptually, this is part of -Wunused-value, but I added a separate flag -Wunused-volatile-lvalue so it doesn't get turned off by accident with -Wno-unused-value. I also made a few minor improvements to existing unused value warnings in the process. <rdar://problem/11516811>.
llvm-svn: 157362
Diffstat (limited to 'llvm/lib/Object/Archive.cpp')
0 files changed, 0 insertions, 0 deletions