summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/functions.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
* Eliminate &&s in tests.Daniel Dunbar2009-11-081-4/+4
| | | | | | - 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious. llvm-svn: 86430
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-2/+2
| | | | llvm-svn: 81346
* Prep for new warning.Mike Stump2009-07-211-0/+1
| | | | llvm-svn: 76638
* fix PR4423.Chris Lattner2009-06-231-0/+4
| | | | llvm-svn: 73938
* When defining a function whose type has no prototype, make an effortChris Lattner2009-05-051-1/+1
| | | | | | | | to go back and clean up existing uses of the bitcasted function. This is not just an optimization: it is required for correctness to get always inline functions to work, see testcases in function-attributes.c. llvm-svn: 70971
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* fix a fixme: non-proto struct returning function definitions should be compiledChris Lattner2009-03-221-1/+5
| | | | | | | | | to something like: define void @bar(%struct.foo* noalias sret %agg.result) nounwind { instead of: define void @bar(%struct.foo* noalias sret %agg.result, ...) nounwind { llvm-svn: 67475
* Don't emit K&R unprototyped function definitions as varargs.Daniel Dunbar2009-02-191-1/+13
| | | | | | - <rdar://problem/6584606> clang/x86-64 - too many reg saves llvm-svn: 65032
* When merging from a function with a prototype to a function without aDouglas Gregor2009-02-161-0/+2
| | | | | | prototype, synthesize ParmVarDecls for prototype-less FunctionDecl. llvm-svn: 64666
* Fix a regression I introduced in r54107:Chris Lattner2008-07-311-1/+7
| | | | | | http://llvm.org/viewvc/llvm-project?view=rev&revision=54107 llvm-svn: 54242
* implement codegen for functions whose function body type don't matchChris Lattner2007-12-021-0/+11
their prototype. llvm-svn: 44506
OpenPOWER on IntegriCloud