summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/globalinit.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
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-1/+1
| | | | llvm-svn: 81346
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Upgrade the "excess elements in array initializer" warning to anDouglas Gregor2009-01-301-1/+0
| | | | | | | error, since both C99 and C++ consider it an error. For reference, GCC makes this a warning while G++ makes it an error. llvm-svn: 63435
* Update a number of CodeGen tests to not create .ll files in the testDaniel Dunbar2008-08-211-1/+1
| | | | | | | | directory. - Removed .ll from the svn:ignore lists to try and prevent this. - Added svn:ignore on test/Misc/Output llvm-svn: 55104
* Relax an assertion, fixing PR1968Chris Lattner2008-02-051-0/+5
| | | | llvm-svn: 46742
* Handle binary or in constant expressions.Anders Carlsson2008-01-291-0/+4
| | | | llvm-svn: 46482
* Correctly handle constants that refer to enums.Anders Carlsson2008-01-291-3/+9
| | | | llvm-svn: 46481
* Correctly handle scalars in braces.Anders Carlsson2008-01-291-0/+3
| | | | llvm-svn: 46480
* implement proper support for _Bool in memory, which is usually i8, not i1.Chris Lattner2008-01-091-0/+6
| | | | | | This fixes a crash reported by Seo Sanghyeon llvm-svn: 45778
* local static vars are globals also. This fixes a testcaseChris Lattner2007-12-181-0/+7
| | | | | | reported by Seo. llvm-svn: 45156
* Reimplement support for strings that initialize global inits now thatChris Lattner2007-12-111-2/+2
| | | | | | the types are right in sema. Thanks Steve. llvm-svn: 44834
* Explicitly set the string literal type from "char *" to "constant array of ↵Steve Naroff2007-12-111-2/+2
| | | | | | | | | | | | char". At this point, I am fairly certain the front-end is correct. Unfortunately, the back-end is still unhappy. That said, I've commented out the two lines in globalinit.c that are causing problems. Chris, please have a look...thanks! llvm-svn: 44823
* add support for implicit cast from array to pointer that is not the elementChris Lattner2007-12-101-1/+1
| | | | | | type. llvm-svn: 44809
* disable case that makes this fail.Chris Lattner2007-12-101-1/+1
| | | | llvm-svn: 44807
* extend or truncate the initializer for a string initializer to match its type.Chris Lattner2007-12-101-1/+2
| | | | llvm-svn: 44751
* Implement codegen support for:Chris Lattner2007-12-091-0/+3
| | | | | | | | char text[8] = "string"; Big fixme remains. llvm-svn: 44750
* implement support for functions that initialize globals.Chris Lattner2007-12-091-0/+3
| | | | llvm-svn: 44730
* Fix buggy testChris Lattner2007-12-021-2/+2
| | | | llvm-svn: 44513
* add codegen support for global inits that require array decay.Chris Lattner2007-12-021-0/+4
| | | | llvm-svn: 44511
* Handle global variable definitions which change the type of a definition, ↵Chris Lattner2007-12-021-0/+6
| | | | | | | | | | | such as: extern int x[]; void foo() { x[0] = 1; } int x[10]; void bar() { x[0] = 1; } llvm-svn: 44509
* Codegen global array initializers.Devang Patel2007-10-261-0/+4
llvm-svn: 43383
OpenPOWER on IntegriCloud