summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/warn-unused-value-cxx11.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Adding a -Wunused-value warning for expressions with side effects used in an ↵Aaron Ballman2014-12-171-1/+29
| | | | | | unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case. llvm-svn: 224465
* No longer emit diagnostics about unused results (comparisons, etc) from ↵Aaron Ballman2014-10-161-0/+16
unevaluated contexts. Fixes PR18571. llvm-svn: 219954
OpenPOWER on IntegriCloud