summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ExprConstant.cpp
Commit message (Expand)AuthorAgeFilesLines
* Unifies the name-lookup mechanisms used in various parts of the ASTDouglas Gregor2008-12-111-3/+5
* Workaround for PR3173. The fix is correct in the sense that if the enum Eli Friedman2008-12-081-0/+3
* This wasn't such a good idea after all as it broke some tests.Anders Carlsson2008-12-051-10/+1
* Handle __builtin___CFStringMakeConstantString in Expr::Evaluate.Anders Carlsson2008-12-051-1/+10
* Generate the correct results for the comma expression. Fixes PR3123.Anders Carlsson2008-12-011-7/+10
* Emit the correct diagnostic when a comma is in an ICE.Anders Carlsson2008-12-011-4/+4
* Change the diagnostics that the evaluator reports to be of type NOTE.Anders Carlsson2008-11-301-11/+10
* Replace the isEvaluated bool with a ShortCircuit int, making it easier to han...Anders Carlsson2008-11-301-12/+10
* Pass the expression to the Error and Extension methods.Anders Carlsson2008-11-301-20/+22
* Add a new variant of Evaluate and reimplement the old Evaluate in terms of th...Anders Carlsson2008-11-301-7/+17
* 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
OpenPOWER on IntegriCloud