summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/sentinel-attribute.c
Commit message (Collapse)AuthorAgeFilesLines
* -Wsentinel: Suggest nullptr in C++11 instead of NULLReid Kleckner2014-11-131-1/+12
| | | | llvm-svn: 221945
* Updated the wording of two attribute-related diagnostics so that they print ↵Aaron Ballman2014-01-021-1/+1
| | | | | | the offending attribute name. Also updates the associated test cases. llvm-svn: 198355
* Pretty up the wrong-number-of-arguments-for-attribute diagnostic byJohn McCall2011-03-021-1/+1
| | | | | | | using a custom plural form. Split out the range diagnostics as their own message. llvm-svn: 126840
* Change the wording of the bad-decl-for-attribute warning and errorJohn McCall2011-01-251-1/+1
| | | | | | to make it clear that we're talking about the declarations and not the types. llvm-svn: 124175
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Adds recognition of sentinel attribute on block declarations.Fariborz Jahanian2009-05-141-1/+1
| | | | llvm-svn: 71788
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* don't crash when sentinel attribute is used on function without a prototype,Chris Lattner2009-03-171-0/+2
| | | | | | discovered as part of PR3817 llvm-svn: 67127
* Add parsing of the sentinel attribute. Still need to create the attribute.Anders Carlsson2008-10-051-0/+13
llvm-svn: 57121
OpenPOWER on IntegriCloud