]> granicus.if.org Git - clang/commit
Hook up -Wunused-value to the unused expression warning. This is
authorEli Friedman <eli.friedman@gmail.com>
Mon, 20 Apr 2009 01:56:54 +0000 (01:56 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Mon, 20 Apr 2009 01:56:54 +0000 (01:56 +0000)
commit0272b56daef094f74613c7838f48de8ebd1c6e79
tree543ccdc380a1d9587b794ab85289b5867b23a5cd
parent60952f94cf67ddb566600434857cad7a48264c3b
Hook up -Wunused-value to the unused expression warning.  This is
useful for macro-heavy codebases that tend to trigger this warning a
lot.

Note that a make clean is required to get the option working; the
dependencies for DiagnosticGroups.inc appear to be broken.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69564 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td