aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/unused-expr.c
AgeCommit message (Expand)Author
2013-02-26Warn on dropping the return value from a warn_unused_result function, even inMatt Beaumont-Gay
2013-01-17Suppress all -Wunused-value warnings from macro body expansions.Matt Beaumont-Gay
2012-10-24Address feedback from Eli Friedman on r166522.Matt Beaumont-Gay
2012-10-23Don't emit -Wunused-value warnings from macro expansions.Matt Beaumont-Gay
2012-08-13c: small refactoring of checking for __attribute__(const))Fariborz Jahanian
2012-08-13c: make __has_attribute(const) work for constFariborz Jahanian
2012-05-24Add a warning to diagnose statements in C++ like "*(volatile int*)x;". Conce...Eli Friedman
2011-08-17Treating the unused equality comparisons as something other than part ofChandler Carruth
2011-01-25Change the wording of the bad-decl-for-attribute warning and errorJohn McCall
2010-10-15testcase for http://llvm.org/PR8371 of my last commit, r116570Gabor Greif
2010-09-19Revert r114316, -Wunused-value enabled by default was intended.Argyrios Kyrtzidis
2010-09-19Make -Wunused-value off by default, matching GCC. Fixes rdar://7126194.Argyrios Kyrtzidis
2010-05-08Don't complain about an __builtin_va_arg expression's result beingDouglas Gregor
2010-04-06Devote a special diagnostic to the typoJohn McCall
2010-01-23Insulate these from changes to the default for -Wunreachable-code.Mike Stump
2010-01-08Use -fno-math-errno by default, and remove the IsMathErrnoDefaultDan Gohman
2009-12-30testcase for previous patch!Chris Lattner
2009-12-22warn when attribute warn_unused_result is applied to void functions.Nuno Lopes
2009-12-20fix PR4010: add support for the warn_unused_result for function pointersNuno Lopes
2009-12-15Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar
2009-11-19Switch -f{builtin,math-errno,rtti} and -analyzer-purge-dead to -...no... vari...Daniel Dunbar
2009-10-13add rdar # I accidentally lost.Chris Lattner
2009-10-13merge two tests.Chris Lattner
2009-10-13make the diagnostic in the 'unused result' warning more preciseChris Lattner
2009-08-01More warnings for unused expressions.Anders Carlsson
2009-07-30Diagnose unused expression results for all statements, just not compound stat...Anders Carlsson
2009-07-28fix PR4633: cast to void should silence the 'unused expression' warning.Chris Lattner
2009-04-07Driver: Manually translate a number of -f with no- variants options toDaniel Dunbar
2009-03-24Rename clang to clang-cc.Daniel Dunbar
2009-02-17add support for -fno-math-errno, and validate that it affects sema properly.Chris Lattner
2009-02-17sema no longer explodes, yay!Chris Lattner
2008-05-19Make the unused expression warning a bit less aggressive (found in PHP Eli Friedman
2007-10-11rename -parse-ast-print to -ast-printChris Lattner
2007-09-26Removed option "-parse-ast-check" from clang driver. This is now implementedTed Kremenek
2007-08-31Fix a bug/missing-feature Ted noticed: the 'unused' warning should notChris Lattner
2007-08-27Add Type::getAsBuiltinType() and Type::builtinTypesAreCompatible().Steve Naroff
2007-08-26Fix a bug reported by Keith BauerChris Lattner
2007-08-21we now correctly emit:Chris Lattner
2007-07-11Stage two of getting CFE top correct.Reid Spencer