Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix reference binding of const lvalue references to bit-fields, which | Douglas Gregor | 2010-01-29 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | requires a temporary. Previously, we were building an initialization sequence that bound to the bit-field as if it were a real lvalue. Note that we previously (and still) diagnose binding of non-const references to bit-fields, as we should. There's no real way to test that this code is correct, since reference binding does not *currently* have any representation in the AST. This fix should make it easier for that to happen, so I've verified this fix with... Added InitializationSequence::dump(), to print an initialization sequence for debugging purposes. llvm-svn: 94826 | ||||
* | Fix a code gen. bug involving compiling global references. | Fariborz Jahanian | 2010-01-25 | 1 | -0/+5 |
| | | | | | | (fixes radar 7574896). llvm-svn: 94434 | ||||
* | Fix the CodeGen half of PR5911 by changing reference initialization to | Chandler Carruth | 2010-01-12 | 1 | -0/+7 |
| | | | | | | | correctly look through arrays to see cv-qualifiers. Also enhances the routine for doing this to preserve more type sugaring for diagnostics. llvm-svn: 93252 | ||||
* | Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. | Daniel Dunbar | 2009-12-15 | 1 | -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 | ||||
* | Fix a recent regression from the initialization changes. | Eli Friedman | 2009-12-11 | 1 | -0/+9 |
llvm-svn: 91097 |