Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make a major restructuring of the clang tree: introduce a top-level | Chris Lattner | 2008-03-15 | 1 | -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 Lattner | 2008-03-05 | 1 | -8/+8 |
| | | | | llvm-svn: 47954 | ||||
* | Add codegen support for ObjC message expressions with the GNU runtime. | Chris Lattner | 2008-03-01 | 1 | -0/+3 |
| | | | | | | Patch by David Chisnall! llvm-svn: 47789 | ||||
* | Implement codegen for the following static var init. | Lauro Ramos Venancio | 2008-02-26 | 1 | -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 Friedman | 2008-02-21 | 1 | -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 Friedman | 2008-02-21 | 1 | -3/+6 |
| | | | | | | ahtough I had the fix in my tree previously. llvm-svn: 47439 | ||||
* | strings are arrays too | Chris Lattner | 2008-02-11 | 1 | -2/+0 |
| | | | | llvm-svn: 46945 | ||||
* | Make unsupported constant exprs fail with a warning instead of crashing | Eli Friedman | 2008-02-11 | 1 | -12/+11 |
| | | | | | | codegen. llvm-svn: 46943 | ||||
* | Fix PR1992 by computing the right type for string literals, which | Chris Lattner | 2008-02-11 | 1 | -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 Carlsson | 2008-02-06 | 1 | -2/+10 |
| | | | | llvm-svn: 46812 | ||||
* | Add some binops. | Anders Carlsson | 2008-02-05 | 1 | -1/+69 |
| | | | | llvm-svn: 46766 | ||||
* | Change the key of CGRecordLayouts from being an llvm type* to being a decl*. ↵ | Chris Lattner | 2008-02-05 | 1 | -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 Patel | 2008-02-05 | 1 | -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 Venancio | 2008-01-30 | 1 | -1/+2 |
| | | | | llvm-svn: 46576 | ||||
* | Handle incomplete struct initializer. | Devang Patel | 2008-01-29 | 1 | -14/+27 |
| | | | | llvm-svn: 46534 | ||||
* | Implement __builtin_offsetof. | Anders Carlsson | 2008-01-29 | 1 | -0/+9 |
| | | | | llvm-svn: 46515 | ||||
* | Handle binary or in constant expressions. | Anders Carlsson | 2008-01-29 | 1 | -0/+8 |
| | | | | llvm-svn: 46482 | ||||
* | Correctly handle constants that refer to enums. | Anders Carlsson | 2008-01-29 | 1 | -0/+2 |
| | | | | llvm-svn: 46481 | ||||
* | Correctly handle scalars in braces. | Anders Carlsson | 2008-01-29 | 1 | -16/+8 |
| | | | | llvm-svn: 46480 | ||||
* | Tweaks to EmitLValue in CGExprConstant. Patch by Eli Friedman. | Anders Carlsson | 2008-01-26 | 1 | -41/+46 |
| | | | | llvm-svn: 46389 | ||||
* | Add CodeGen for AddrOf in constant initializers. Original patch by Eli Friedman. | Anders Carlsson | 2008-01-26 | 1 | -1/+88 |
| | | | | llvm-svn: 46388 | ||||
* | Factor out the constant generation into its own file. | Anders Carlsson | 2008-01-26 | 1 | -0/+371 |
llvm-svn: 46386 |