aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/TextDiagnostic.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
commita6115068cde719142eb394db88612c185cabd05b (patch)
treed3c190622f3f760f42ea9ae036c381eb9d8f3fe1 /lib/Frontend/TextDiagnostic.cpp
parent587de5be6bc8b9d046015b20079d45ac4b98bc14 (diff)
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>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157362 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/TextDiagnostic.cpp')
0 files changed, 0 insertions, 0 deletions