summaryrefslogtreecommitdiffstats
path: root/test/Sema/unused-expr.c
Commit message (Expand)AuthorAgeFilesLines
* Determine the attribute subject for diagnostics based on declarative informat...Aaron Ballman2017-11-261-1/+1
* Implement support for [[nodiscard]] in C++1z that is based off existing suppo...Aaron Ballman2016-03-071-4/+4
* Tweak how -Wunused-value interacts with macrosNico Weber2015-10-271-0/+8
* Move the warning about unused relational comparison from -Wunused-value toRichard Trieu2014-03-111-9/+9
* Change an absolute value function in a test from floating to integer toRichard Trieu2014-01-231-1/+1
* Warn on dropping the return value from a warn_unused_result function, even inMatt Beaumont-Gay2013-02-261-0/+6
* Suppress all -Wunused-value warnings from macro body expansions.Matt Beaumont-Gay2013-01-171-3/+20
* Address feedback from Eli Friedman on r166522.Matt Beaumont-Gay2012-10-241-4/+8
* Don't emit -Wunused-value warnings from macro expansions.Matt Beaumont-Gay2012-10-231-0/+7
* c: small refactoring of checking for __attribute__(const))Fariborz Jahanian2012-08-131-2/+0
* c: make __has_attribute(const) work for constFariborz Jahanian2012-08-131-1/+3
* Add a warning to diagnose statements in C++ like "*(volatile int*)x;". Conce...Eli Friedman2012-05-241-0/+1
* Treating the unused equality comparisons as something other than part ofChandler Carruth2011-08-171-10/+10
* Change the wording of the bad-decl-for-attribute warning and errorJohn McCall2011-01-251-1/+1
* testcase for http://llvm.org/PR8371 of my last commit, r116570Gabor Greif2010-10-151-0/+3
* Revert r114316, -Wunused-value enabled by default was intended.Argyrios Kyrtzidis2010-09-191-1/+1
* Make -Wunused-value off by default, matching GCC. Fixes rdar://7126194.Argyrios Kyrtzidis2010-09-191-1/+1
* Don't complain about an __builtin_va_arg expression's result beingDouglas Gregor2010-05-081-0/+8
* Devote a special diagnostic to the typoJohn McCall2010-04-061-0/+6
* Insulate these from changes to the default for -Wunreachable-code.Mike Stump2010-01-231-1/+1
* Use -fno-math-errno by default, and remove the IsMathErrnoDefaultDan Gohman2010-01-081-3/+3
* testcase for previous patch!Chris Lattner2009-12-301-0/+1
* warn when attribute warn_unused_result is applied to void functions.Nuno Lopes2009-12-221-2/+4
* fix PR4010: add support for the warn_unused_result for function pointersNuno Lopes2009-12-201-0/+5
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
* Switch -f{builtin,math-errno,rtti} and -analyzer-purge-dead to -...no... vari...Daniel Dunbar2009-11-191-1/+1
* add rdar # I accidentally lost.Chris Lattner2009-10-131-1/+1
* merge two tests.Chris Lattner2009-10-131-0/+18
* make the diagnostic in the 'unused result' warning more preciseChris Lattner2009-10-131-2/+6
* More warnings for unused expressions.Anders Carlsson2009-08-011-0/+4
* Diagnose unused expression results for all statements, just not compound stat...Anders Carlsson2009-07-301-0/+19
* fix PR4633: cast to void should silence the 'unused expression' warning.Chris Lattner2009-07-281-0/+7
* Driver: Manually translate a number of -f with no- variants options toDaniel Dunbar2009-04-071-1/+1
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
* add support for -fno-math-errno, and validate that it affects sema properly.Chris Lattner2009-02-171-1/+6
* sema no longer explodes, yay!Chris Lattner2009-02-171-3/+2
* Make the unused expression warning a bit less aggressive (found in PHP Eli Friedman2008-05-191-0/+5
* rename -parse-ast-print to -ast-printChris Lattner2007-10-111-1/+1
* Removed option "-parse-ast-check" from clang driver. This is now implementedTed Kremenek2007-09-261-1/+1
* Fix a bug/missing-feature Ted noticed: the 'unused' warning should notChris Lattner2007-08-311-0/+5
* Add Type::getAsBuiltinType() and Type::builtinTypesAreCompatible().Steve Naroff2007-08-271-2/+1
* Fix a bug reported by Keith BauerChris Lattner2007-08-261-1/+7
* we now correctly emit:Chris Lattner2007-08-211-1/+2
* Stage two of getting CFE top correct.Reid Spencer2007-07-111-0/+26