aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/ExprConstant.cpp
AgeCommit message (Expand)Author
2009-02-08Teach the constant evaluator about C++ const integral variables.Sebastian Redl
2009-01-29Evaluate ==,!= for complex types.Daniel Dunbar
2009-01-29Evaluate casts to complex.Daniel Dunbar
2009-01-29move library-specific diagnostic headers into library private dirs. ReduceChris Lattner
2009-01-29Add folding for complex mul and fix some major bugs in complex floatDaniel Dunbar
2009-01-28Implement basic _Complex integer constant folding.Daniel Dunbar
2009-01-27Split the single monolithic DiagnosticKinds.def file into oneChris Lattner
2009-01-25Make the constant folder aware of Eli Friedman
2009-01-25Fix the address of a label to be properly considered and emitted as aEli Friedman
2009-01-24Refactor sizeof handling to use constant folding logic for constant Eli Friedman
2009-01-24add initial support for the gcc "alignof(decl) is the alignment of the declChris Lattner
2009-01-24Improve handling of alignof. alignof(VLA) now works properly for example.Chris Lattner
2009-01-24Fix invalid evaluation of _Complex float (real & imaginary parts hadDaniel Dunbar
2009-01-18Support evaluation of vector constant expressions, and codegen of same.Nate Begeman
2009-01-16postpone sizeof objc-class computatin to the clients.Fariborz Jahanian
2009-01-15Fix some unused variable, control reaches end of non-void function,Daniel Dunbar
2009-01-05PODness and Type TraitsSebastian Redl
2008-12-21Add codegen support for __nullAnders Carlsson
2008-12-20Add support for member references (E1.E2, E1->E2) with C++ semantics,Douglas Gregor
2008-12-19Get rid of the old Expr::Evaluate variant.Anders Carlsson
2008-12-11Unifies the name-lookup mechanisms used in various parts of the ASTDouglas Gregor
2008-12-08Workaround for PR3173. The fix is correct in the sense that if the enum Eli Friedman
2008-12-05This wasn't such a good idea after all as it broke some tests.Anders Carlsson
2008-12-05Handle __builtin___CFStringMakeConstantString in Expr::Evaluate.Anders Carlsson
2008-12-01Generate the correct results for the comma expression. Fixes PR3123.Anders Carlsson
2008-12-01Emit the correct diagnostic when a comma is in an ICE.Anders Carlsson
2008-11-30Change the diagnostics that the evaluator reports to be of type NOTE.Anders Carlsson
2008-11-30Replace the isEvaluated bool with a ShortCircuit int, making it easier to han...Anders Carlsson
2008-11-30Pass the expression to the Error and Extension methods.Anders Carlsson
2008-11-30Add a new variant of Evaluate and reimplement the old Evaluate in terms of th...Anders Carlsson
2008-11-30General cleanup, evaluate the RHS of a logical op even if the LHS will give u...Anders Carlsson
2008-11-30EvalInfo now holds a reference to an EvalResult struct.Anders Carlsson
2008-11-26remove debug-only assertion in the complex float evaluator as it makes some r...Nuno Lopes
2008-11-24The address of a variable is only constant if the variable has global storage.Anders Carlsson
2008-11-24Fix bug in the constant evaluator. Fixes PR3115.Anders Carlsson
2008-11-22Return false if we encounter a type we can't handle.Anders Carlsson
2008-11-22Case values must be evaluatedAnders Carlsson
2008-11-22Use Expr::Evaluate for case statements. Fixes PR2525Anders Carlsson
2008-11-19fix folding of '*doubleArray'Nuno Lopes
2008-11-16Address some comments Eli had.Anders Carlsson
2008-11-16use HandleConversionToBool() to check if a given cond is foldable (per Eli's ...Nuno Lopes
2008-11-16More complex float evaluator support.Anders Carlsson
2008-11-16rename Expr::tryEvaluate to Expr::Evaluate.Chris Lattner
2008-11-16Add very limited support for evaluating complex floats.Anders Carlsson
2008-11-16fix folding of comma if given a non-constant operand.Nuno Lopes
2008-11-16make IntExprEvaluator fold the ?: operatorNuno Lopes
2008-11-16More work on the constant evaluator. Eli, it would be great if you could have...Anders Carlsson
2008-11-16Add the ability to evaluate comparison operators with floating point numbers ...Anders Carlsson
2008-11-13Fix for crash issues with comma operators with a void first operand, and Eli Friedman
2008-11-13Backout of r59196, plus a new ICE test. Sorry if this is a Eli Friedman