]> granicus.if.org Git - clang/commit
Move the warning about unused relational comparison from -Wunused-value to
authorRichard Trieu <rtrieu@google.com>
Tue, 11 Mar 2014 03:11:08 +0000 (03:11 +0000)
committerRichard Trieu <rtrieu@google.com>
Tue, 11 Mar 2014 03:11:08 +0000 (03:11 +0000)
commit61e100da3ce83aa0186b080c1c772e09dc848995
tree2b419d0b09cad8c28d9e37c3f177395e1798ecbd
parent4e2325b14b36c82f45b160dbe4e8b82c191ec949
Move the warning about unused relational comparison from -Wunused-value to
-Wunused-comparison.  Also, newly warn on unused result from overloaded
relational comparisons, now also in -Wunused-comparison.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203535 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/Expr.cpp
lib/Sema/SemaStmt.cpp
test/Sema/unused-expr.c
test/SemaCXX/MicrosoftExtensions.cpp
test/SemaCXX/warn-unused-comparison.cpp
test/SemaTemplate/resolve-single-template-id.cpp