summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/warn-unused-variables.cpp
Commit message (Collapse)AuthorAgeFilesLines
* When we have a dependent direct initializer but not a dependentDouglas Gregor2010-02-111-5/+13
| | | | | | | | variable type, we can (and should) still check for completeness of the variable's type. Do so, to work around an assertion that shows up in Boost's shared_ptr. llvm-svn: 95934
* support the warn_unused_result in C++ class methodsNuno Lopes2009-12-241-0/+11
| | | | llvm-svn: 92095
* Update tests to use %clang instead of 'clang', and forcibly disable use of 'Daniel Dunbar2009-12-151-1/+1
| | | | | | | clang ' or ' clang -cc1 ' or ' clang-cc ' in test lines (by substituting them to garbage). llvm-svn: 91460
* Fix PR5531.Anders Carlsson2009-11-171-0/+20
| | | | llvm-svn: 89106
* Add bug number.Anders Carlsson2009-11-071-2/+2
| | | | llvm-svn: 86357
* Don't treat variables with non-trivial ctors or dtors as unused. Fixes PR5407.Anders Carlsson2009-11-071-0/+8
| | | | llvm-svn: 86352
* Implement support for -Wunused-variable, from Oscar Bonilla!Douglas Gregor2009-10-081-0/+6
llvm-svn: 83577
OpenPOWER on IntegriCloud