summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ExprConstant.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* General cleanup, evaluate the RHS of a logical op even if the LHS will give u...Anders Carlsson2008-11-301-16/+25
* EvalInfo now holds a reference to an EvalResult struct.Anders Carlsson2008-11-301-24/+14
* remove debug-only assertion in the complex float evaluator as it makes some r...Nuno Lopes2008-11-261-1/+0
* The address of a variable is only constant if the variable has global storage.Anders Carlsson2008-11-241-1/+9
* Fix bug in the constant evaluator. Fixes PR3115.Anders Carlsson2008-11-241-33/+33
* Return false if we encounter a type we can't handle.Anders Carlsson2008-11-221-1/+2
* Case values must be evaluatedAnders Carlsson2008-11-221-19/+23
* Use Expr::Evaluate for case statements. Fixes PR2525Anders Carlsson2008-11-221-9/+27
* fix folding of '*doubleArray'Nuno Lopes2008-11-191-0/+3
* Address some comments Eli had.Anders Carlsson2008-11-161-11/+6
* use HandleConversionToBool() to check if a given cond is foldable (per Eli's ...Nuno Lopes2008-11-161-3/+3
* More complex float evaluator support.Anders Carlsson2008-11-161-0/+45
* rename Expr::tryEvaluate to Expr::Evaluate.Chris Lattner2008-11-161-6/+6
* Add very limited support for evaluating complex floats.Anders Carlsson2008-11-161-1/+46
* fix folding of comma if given a non-constant operand.Nuno Lopes2008-11-161-3/+4
* make IntExprEvaluator fold the ?: operatorNuno Lopes2008-11-161-0/+9
* More work on the constant evaluator. Eli, it would be great if you could have...Anders Carlsson2008-11-161-1/+65
* Add the ability to evaluate comparison operators with floating point numbers ...Anders Carlsson2008-11-161-2/+45
* Fix for crash issues with comma operators with a void first operand, and Eli Friedman2008-11-131-50/+67
* Backout of r59196, plus a new ICE test. Sorry if this is a Eli Friedman2008-11-131-32/+16
* Fix bug in constant evaluation exposed by 176.gcc.Daniel Dunbar2008-11-131-16/+32
* Disable some debug prints.Daniel Dunbar2008-11-121-0/+2
* Some additions to tryEvaluate I've had sitting around for a while.Eli Friedman2008-11-121-25/+202
* fix a crash analyzing constants in 176.gcc/expr.c with my next patch. It wasChris Lattner2008-11-121-16/+34
* Teach the aggressive constant folder to fold X && 0 -> 0 and X || 1 -> 1Chris Lattner2008-11-121-1/+21
* Introduce a single AST node SizeOfAlignOfExpr for all sizeof and alignof expr...Sebastian Redl2008-11-111-14/+10
* PR2919: __builtin_types_compatible_p strips CRV qualifiers.Daniel Dunbar2008-10-241-1/+7
* Teach tryEvaluate that fabs, copysign, and unary +/- are constants forDaniel Dunbar2008-10-161-1/+36
* Fix test suite regression, getFloatTypeSemantics shouldn't be calledDaniel Dunbar2008-10-141-4/+6
* Adjust calls to APFloat conversion for new interface.Dale Johannesen2008-10-091-2/+3
* ExprConstant should not abort when it sees a pointer constant that isn't.Chris Lattner2008-10-061-3/+0
* Add a Expr::isEvaluatable method, eliminate isBuiltinConstantExprChris Lattner2008-10-061-0/+7
* Move folding of __builtin_classify_type out of the CallExprChris Lattner2008-10-061-2/+57
* Move handling of __builtin_nan("") out of CGBuiltin.cpp into ExprConstant.cppChris Lattner2008-10-061-0/+14
* Teach FloatExprEvaluator to evaluate __builtin_huge_val and inf.Chris Lattner2008-10-061-3/+5
* Add a comment that describes tryEvaluate. Make tryEvaluate foldChris Lattner2008-10-061-5/+37
* Initial implementation of floats in Expr::tryEvaluate; this doesn't Eli Friedman2008-08-221-21/+82
* Add ExplicitCastExpr to replace the current CastExpr, and have ImplicitCastEx...Argyrios Kyrtzidis2008-08-181-3/+0
* More #include cleaningDaniel Dunbar2008-08-111-1/+0
* Remove the old evaluator code.Anders Carlsson2008-08-101-40/+2
* Turn on the new constant expression evaluator; it isn't Eli Friedman2008-08-091-1/+1
* Minor tweak plus a couple of FIXMEs.Eli Friedman2008-07-271-2/+7
* expand casts to handle what isIntegerConstantExpr handles.Chris Lattner2008-07-121-11/+52
* Add support for __builtin_type_compatible_p, enums, etc.Chris Lattner2008-07-121-16/+47
* start remembering diagnostics for various cases, add some missingChris Lattner2008-07-121-28/+85
* Provide a structure for passing down 'is evaluated' and passing up Chris Lattner2008-07-111-25/+62
* simplify some code a bit.Chris Lattner2008-07-111-48/+42
* share code between sizeof(expr) and sizeof(type)Chris Lattner2008-07-111-61/+44
* implement support for __extension__, make sure the result of aChris Lattner2008-07-111-13/+30
* add a new getIntTypeSizeInBits method.Chris Lattner2008-07-111-11/+12
OpenPOWER on IntegriCloud