summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/warn-unused-parameters.c
Commit message (Collapse)AuthorAgeFilesLines
* Add 'not' to commands that are expected to fail.Rafael Espindola2013-07-041-1/+1
| | | | | | | This is at least good documentation, but also opens the possibility of using pipefail. llvm-svn: 185652
* Undo patch for // rdar://10735698Fariborz Jahanian2012-03-061-3/+3
| | | | llvm-svn: 152128
* patch to optionally warn for block implementations without explicit Fariborz Jahanian2012-03-051-3/+3
| | | | | | return types that return non-void values. // rdar://10735698 llvm-svn: 152047
* Implement '-Weverything', which enables all warnings except those explicitly ↵Ted Kremenek2011-08-181-1/+9
| | | | | | | | | | | | | | mapped to be ignored. Currently this includes -pedantic warnings as well; we'll need to consider whether these should be included. This works as expected with -Werror. Test cases were added to Sema/warn-unused-parameters.c, but they should probably be broken off into their own test file. llvm-svn: 137910
* Use '%clang_cc1' instead of '%clang' to make the warning output more ↵Ted Kremenek2010-04-081-2/+2
| | | | | | | | consistent across platforms (for this test). llvm-svn: 100827
* Match GCC's behavior and do not include '-Wunused-parameter' in '-Wunused'.Ted Kremenek2010-04-081-3/+12
| | | | llvm-svn: 100810
* 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
* Add -fblocksDouglas Gregor2009-06-201-2/+2
| | | | llvm-svn: 73804
* Keep track of when declarations are "used" according to C andDouglas Gregor2009-06-191-0/+13
C++. This logic is required to trigger implicit instantiation of function templates and member functions of class templates, which will be implemented separately. This commit includes support for -Wunused-parameter, printing warnings for named parameters that are not used within a function/Objective-C method/block. Fixes <rdar://problem/6505209>. llvm-svn: 73797
OpenPOWER on IntegriCloud