summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen/CGExprConstant.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make a major restructuring of the clang tree: introduce a top-levelChris Lattner2008-03-151-627/+0
| | | | | | | | | | lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402
* remove the source location arguments to various target query methods.Chris Lattner2008-03-051-8/+8
| | | | llvm-svn: 47954
* Add codegen support for ObjC message expressions with the GNU runtime.Chris Lattner2008-03-011-0/+3
| | | | | | Patch by David Chisnall! llvm-svn: 47789
* Implement codegen for the following static var init.Lauro Ramos Venancio2008-02-261-6/+10
| | | | | | | | | | | void g() { static char a[10]; static char *b = a; } Now we can compile wget! llvm-svn: 47627
* Clean up constant implicit cast emission; fixes a few edge cases Eli Friedman2008-02-211-24/+24
| | | | | | | invlolving implicit casts that cause both a decay to pointer type and a type conversion. llvm-svn: 47440
* Fix brace-enclosed string initializers for char arrays. From pr2079, Eli Friedman2008-02-211-3/+6
| | | | | | ahtough I had the fix in my tree previously. llvm-svn: 47439
* strings are arrays tooChris Lattner2008-02-111-2/+0
| | | | llvm-svn: 46945
* Make unsupported constant exprs fail with a warning instead of crashing Eli Friedman2008-02-111-12/+11
| | | | | | codegen. llvm-svn: 46943
* Fix PR1992 by computing the right type for string literals, whichChris Lattner2008-02-111-11/+5
| | | | | | | | is an array type not a pointer type. This requires updating some diags that change and updating the code generator to handle the proper form of strings. llvm-svn: 46941
* Add pointer + int (and vice versa) to the constant emitter.Anders Carlsson2008-02-061-2/+10
| | | | llvm-svn: 46812
* Add some binops.Anders Carlsson2008-02-051-1/+69
| | | | llvm-svn: 46766
* Change the key of CGRecordLayouts from being an llvm type* to being a decl*. ↵Chris Lattner2008-02-051-1/+2
| | | | | | | | | | | LLVM Type*'s can change as types are refined, so we can't use them as a stable key in the map. Decls don't change, so use them instead. This patch was written by Anders, but he's too shy to commit it himself :) llvm-svn: 46743
* Cleanup InitListExpr code generation code.Devang Patel2008-02-051-46/+107
| | | | | | Handle padding fields while initializing struct (fix PR 1962) llvm-svn: 46736
* getLLVMFieldNo can't be called before emitting the base value.Lauro Ramos Venancio2008-01-301-1/+2
| | | | llvm-svn: 46576
* Handle incomplete struct initializer.Devang Patel2008-01-291-14/+27
| | | | llvm-svn: 46534
* Implement __builtin_offsetof.Anders Carlsson2008-01-291-0/+9
| | | | llvm-svn: 46515
* Handle binary or in constant expressions.Anders Carlsson2008-01-291-0/+8
| | | | llvm-svn: 46482
* Correctly handle constants that refer to enums.Anders Carlsson2008-01-291-0/+2
| | | | llvm-svn: 46481
* Correctly handle scalars in braces.Anders Carlsson2008-01-291-16/+8
| | | | llvm-svn: 46480
* Tweaks to EmitLValue in CGExprConstant. Patch by Eli Friedman.Anders Carlsson2008-01-261-41/+46
| | | | llvm-svn: 46389
* Add CodeGen for AddrOf in constant initializers. Original patch by Eli Friedman.Anders Carlsson2008-01-261-1/+88
| | | | llvm-svn: 46388
* Factor out the constant generation into its own file.Anders Carlsson2008-01-261-0/+371
llvm-svn: 46386
OpenPOWER on IntegriCloud