summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/attr-malloc.c
Commit message (Collapse)AuthorAgeFilesLines
* This really seems like a boring set of fixes to our tests to make them moreChandler Carruth2010-11-161-1/+4
| | | | | | | independent of the underlying system. Let me know if any of these are too aggressive. llvm-svn: 119345
* Update tests to use %clang instead of 'clang', and forcibly disable use of 'Daniel Dunbar2009-12-151-2/+2
| | | | | | | clang ' or ' clang -cc1 ' or ' clang-cc ' in test lines (by substituting them to garbage). llvm-svn: 91460
* Use clang to run tests which include headers from the system.Daniel Dunbar2009-11-171-2/+2
| | | | llvm-svn: 89085
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-3/+3
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Change handling of attribute 'malloc' to only accept the attribute on functionTed Kremenek2009-08-151-5/+5
| | | | | | | | | | declarations (and not function pointers). This is consistent with GCC. Accepting this attribute on function pointers means that the attribute should be treated as a type qualifier, which apparently is not what GCC does. We obviously can change this later should we desire to enhance the 'malloc' attribute in this way. llvm-svn: 79060
* Add more attribute 'malloc' test cases involving function pointers.Ted Kremenek2009-08-141-0/+1
| | | | llvm-svn: 79055
* Per Eli Friedman's feedback, handle attribute 'malloc' being applied toTed Kremenek2009-08-141-3/+5
| | | | | | declarations of function pointers. llvm-svn: 79053
* Rename macro to avoid a name clash on FreeBSD.Benjamin Kramer2009-08-111-2/+2
| | | | llvm-svn: 78741
* warn, as gcc does, if __attribute__((malloc)) applied to function returning ↵Ryan Flynn2009-08-091-0/+6
| | | | | | non-pointer type llvm-svn: 78542
* map previously ignored __attribute((malloc)) to noalias attribute of llvm ↵Ryan Flynn2009-08-091-0/+16
function's return llvm-svn: 78541
OpenPOWER on IntegriCloud