aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/warn-unused-variables.cpp
AgeCommit message (Expand)Author
2013-04-10Suppress -Wunused-variable for variables declared in headers, which may inMatt Beaumont-Gay
2012-10-24Fix false positive in -Wunused-variable when a ctor call make involve cleanups.David Blaikie
2012-10-10Fix a crash-on-invalid when parsing a reference to an invalid auto declarationDavid Blaikie
2012-01-06Improvements to the uninitialized variable warning: Check if the constructorRafael Espindola
2011-06-21Fix PR10168: don't warn for unused non-dependent variables in both the templa...Richard Smith
2011-02-21Clean up the tests for warning about unused function results given theChandler Carruth
2010-11-09Make #pragma unused work for static local variables.Douglas Gregor
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-07-08Reinstate the fix for PR7556. A silly use of isTrivial() wasDouglas Gregor
2010-07-07Revert r107828 and r107827, the fix for PR7556, which seems to beDouglas Gregor
2010-07-07Do not use CXXZeroValueInitExpr for class types. Instead, useDouglas Gregor
2010-04-27Don't look into incomplete types when trying to warn about unusedDouglas Gregor
2010-02-11When we have a dependent direct initializer but not a dependentDouglas Gregor
2009-12-24support the warn_unused_result in C++ class methodsNuno Lopes
2009-12-15Update tests to use %clang instead of 'clang', and forcibly disable use of 'Daniel Dunbar
2009-11-17Fix PR5531.Anders Carlsson
2009-11-07Add bug number.Anders Carlsson
2009-11-07Don't treat variables with non-trivial ctors or dtors as unused. Fixes PR5407.Anders Carlsson
2009-10-08Implement support for -Wunused-variable, from Oscar Bonilla!Douglas Gregor