summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/knr-def-call.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* When calling a function without a prototype for which we have aDouglas Gregor2009-04-021-2/+6
| | | | | | | definition, warn if there are too many/too few function call arguments. llvm-svn: 68318
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Implement GNU C semantics for K&R function definitions that follow aDouglas Gregor2009-03-061-1/+1
| | | | | | | | prototype of the same function, where the promoted parameter types in the K&R definition are not compatible with the types in the prototype. Fixes PR2821. llvm-svn: 66301
* C99 DR #316 implies that the function parameter types that are knownDouglas Gregor2009-02-251-0/+14
only from a function definition (that does not have a prototype) are only used to determine the compatible with other declarations of that same function. In particular, when referencing the function we pretend as if it does not have a prototype. Implement this behavior, which fixes PR3626. llvm-svn: 65460
OpenPOWER on IntegriCloud