diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2012-05-24 00:47:05 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2012-05-24 00:47:05 +0000 |
| commit | c11535c248cfa3744eb273b3af282097924950d1 (patch) | |
| tree | dbff56390aa8b7ef911b14cc32ccf90c45e30e0d /llvm/lib/Object/Archive.cpp | |
| parent | a95ce623d830d8bb488ef28e212b42d3166faf07 (diff) | |
| download | llvm-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
