summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/redefinition.c
Commit message (Collapse)AuthorAgeFilesLines
* Provide a specific diagnostic when trying to redefine an "externDouglas Gregor2010-09-071-0/+4
| | | | | | | inline" function outside of GNU89 mode. Fixes <rdar://problem/6880464>. llvm-svn: 113204
* 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
* Prep for new warning.Mike Stump2009-07-221-2/+2
| | | | llvm-svn: 76709
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Handle any undeclared parameters in a K&R-style function with aDouglas Gregor2009-01-231-0/+5
| | | | | | | | | special action, inside function prototype scope. This avoids confusion when we try to inject these parameters into the scope of the function body before the function itself has been added to the surrounding scope. Fixes <rdar://problem/6097326>. llvm-svn: 62849
* diagnose C99 6.9.1p5, C arguments in definitions that are lackingChris Lattner2008-12-171-2/+2
| | | | | | a name. This implements PR3208. llvm-svn: 61127
* Make all the 'redefinition' diagnostics more consistent, and make the Chris Lattner2008-11-231-2/+2
| | | | | | "previously defined here" diagnostics all notes. llvm-svn: 59920
* Clean up handling of function redeclarationsDouglas Gregor2008-04-211-0/+5
llvm-svn: 50021
OpenPOWER on IntegriCloud