summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/const-init.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix for PR4108: be a bit looser with the casts that we accept in Eli Friedman2009-04-301-0/+5
| | | | | | constant initializers. llvm-svn: 70483
* Move where block-related variables are initialized so that block Eli Friedman2009-03-281-2/+2
| | | | | | types don't get generated when blocks aren't used. llvm-svn: 67898
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* adjust to changes in the mainline llvm .ll printer.Chris Lattner2009-03-011-6/+6
| | | | llvm-svn: 65745
* Allow constant initializers to reference their defining decl.Daniel Dunbar2009-02-251-0/+11
| | | | | | - PR3662. llvm-svn: 65472
* Remove a FIXME; I was mistaken in believing gcc rejected this.Daniel Dunbar2009-02-251-1/+0
| | | | llvm-svn: 65420
* Fix IRgen of constant expressions referring to external/staticDaniel Dunbar2009-02-241-0/+7
| | | | | | | variables. - PR3657. llvm-svn: 65381
* Cleanp code with some recent suggestions.Mike Stump2009-02-221-2/+2
| | | | llvm-svn: 65285
* Force arch for these test cases.Daniel Dunbar2009-02-211-1/+1
| | | | llvm-svn: 65252
* Handle constant int -> ptr casts of lvalue results.Daniel Dunbar2009-02-201-0/+3
| | | | | | - PR3463 (again). llvm-svn: 65133
* Extend Evaluate() to fold (int) <pointer type>.Daniel Dunbar2009-02-191-0/+28
| | | | | | | | | | - PR3463, PR3398, <rdar://problem/6553401> crash on relocatable symbol addresses as constants in static locals. - There are many more scenarious we could handle (like arithmetic on such an int) but this is the main use case. llvm-svn: 65074
* Evaluate ==,!= for complex types.Daniel Dunbar2009-01-291-3/+28
| | | | llvm-svn: 63280
* Implement basic _Complex integer constant folding.Daniel Dunbar2009-01-281-0/+3
| | | | | | | - Merged into single ComplexEvaluator, these share too much logic to be worth splitting for float/int (IMHO). Will split on request. llvm-svn: 63248
* Add test for PR2992.Anders Carlsson2008-11-221-0/+8
| | | | llvm-svn: 59861
* Fix const-init test caseDaniel Dunbar2008-08-051-3/+3
| | | | | | - Use -verify and added expected warnings for EXTWARN change. llvm-svn: 54342
* Add codegen support for a few more kinds of initializer constant Eli Friedman2008-05-291-1/+3
| | | | | | expressions. llvm-svn: 51677
* Some const initializer tests for stuff I just committed.Eli Friedman2008-02-211-0/+13
llvm-svn: 47442
OpenPOWER on IntegriCloud