summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/APValue.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Constant expression evaluation: preserve subobject designator when flattening aRichard Smith2011-11-071-8/+63
| | | | | | core constant value down to an APValue. llvm-svn: 143909
* constexpr function substitution:Richard Smith2011-10-291-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_unreachableDavid Blaikie2011-09-231-0/+1
| | | | llvm-svn: 140368
* Switch assert(0/false) llvm_unreachable.David Blaikie2011-09-231-2/+2
| | | | llvm-svn: 140367
* remove unneeded llvm:: namespace qualifiers on some core types now that ↵Chris Lattner2011-07-231-2/+2
| | | | | | | | LLVM.h imports them into the clang namespace. llvm-svn: 135852
* Define DiagnosticBuilder<<APValue so it's easy to include APValues inJeffrey Yasskin2011-07-181-0/+45
| | | | | | diagnostics. llvm-svn: 135398
* Refactoring of constant expression evaluatorPeter Collingbourne2011-05-131-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 Gohman2010-04-191-1/+2
| | | | llvm-svn: 101786
* Convert the type of the LValue offset variable in APValue to CharUnits, movingKen Dyck2010-01-151-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 Stump2009-09-091-1/+1
| | | | llvm-svn: 81346
* Make sure to access APValue's data via a char array (rather thanDouglas Gregor2009-09-081-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 Dunbar2009-03-101-1/+0
| | | | llvm-svn: 66555
* Support evaluation of vector constant expressions, and codegen of same.Nate Begeman2009-01-181-1/+3
| | | | llvm-svn: 62455
* Add support for vectors to APValue. Vector constant evaluator and tests coming.Nate Begeman2009-01-181-0/+10
| | | | llvm-svn: 62438
* add dump and print methods, add operator<< for APValue.Chris Lattner2008-11-161-0/+97
llvm-svn: 59411
OpenPOWER on IntegriCloud