Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Constant expression evaluation: preserve subobject designator when flattening a | Richard Smith | 2011-11-07 | 1 | -8/+63 | |
| | | | | | | core constant value down to an APValue. llvm-svn: 143909 | |||||
* | constexpr function substitution: | Richard Smith | 2011-10-29 | 1 | -4/+3 | |
| | | | | | | | | Track the function invocation where an lvalue referring to a constexpr function parameter originated from, and use it to substitute the correct argument and to determine whether such an argument's lifetime has ended. llvm-svn: 143296 | |||||
* | Fix missing includes for llvm_unreachable | David Blaikie | 2011-09-23 | 1 | -0/+1 | |
| | | | | llvm-svn: 140368 | |||||
* | Switch assert(0/false) llvm_unreachable. | David Blaikie | 2011-09-23 | 1 | -2/+2 | |
| | | | | llvm-svn: 140367 | |||||
* | remove unneeded llvm:: namespace qualifiers on some core types now that ↵ | Chris Lattner | 2011-07-23 | 1 | -2/+2 | |
| | | | | | | | | LLVM.h imports them into the clang namespace. llvm-svn: 135852 | |||||
* | Define DiagnosticBuilder<<APValue so it's easy to include APValues in | Jeffrey Yasskin | 2011-07-18 | 1 | -0/+45 | |
| | | | | | | diagnostics. llvm-svn: 135398 | |||||
* | Refactoring of constant expression evaluator | Peter Collingbourne | 2011-05-13 | 1 | -4/+4 | |
| | | | | | | | | | This introduces a generic base class for the expression evaluator classes, which handles a few common expression types which were previously handled separately in each class. Also, the expression evaluator now uses ConstStmtVisitor. llvm-svn: 131281 | |||||
* | Fix -Wcast-qual warnings. | Dan Gohman | 2010-04-19 | 1 | -1/+2 | |
| | | | | llvm-svn: 101786 | |||||
* | Convert the type of the LValue offset variable in APValue to CharUnits, moving | Ken Dyck | 2010-01-15 | 1 | -0/+33 | |
| | | | | | | the LValue-related methods of APValue out of line to avoid header file leaching. llvm-svn: 93512 | |||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 81346 | |||||
* | Make sure to access APValue's data via a char array (rather than | Douglas Gregor | 2009-09-08 | 1 | -7/+7 | |
| | | | | | | | | through an array of void*), so that we don't run afoul of the strict-aliasing rules in C++ 3.10p15. Unfortunately, GCC 4.4 still complains about this code. llvm-svn: 81251 | |||||
* | Remove some now-unneeded calls to llvm::errs().flush(). | Daniel Dunbar | 2009-03-10 | 1 | -1/+0 | |
| | | | | llvm-svn: 66555 | |||||
* | Support evaluation of vector constant expressions, and codegen of same. | Nate Begeman | 2009-01-18 | 1 | -1/+3 | |
| | | | | llvm-svn: 62455 | |||||
* | Add support for vectors to APValue. Vector constant evaluator and tests coming. | Nate Begeman | 2009-01-18 | 1 | -0/+10 | |
| | | | | llvm-svn: 62438 | |||||
* | add dump and print methods, add operator<< for APValue. | Chris Lattner | 2008-11-16 | 1 | -0/+97 | |
llvm-svn: 59411 |