aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/ExprConstant.cpp
AgeCommit message (Expand)Author
2009-04-10Add Expr::EvaluateAsLValue which will (believe it or not) try to evaluate an ...Anders Carlsson
2009-04-09Propagate the ASTContext to various AST traversal and lookup functions.Douglas Gregor
2009-03-30Slight generalization for Evaluate with const variables.Eli Friedman
2009-03-24Fix PR3868 by making Evaluate handle cases like "(long)&a + 4".Eli Friedman
2009-03-23Minor Evaluate cleanup; add some boilerplate implementations to Eli Friedman
2009-03-23Minor enhancements to Evaluate.Eli Friedman
2009-03-16Almost complete implementation of rvalue references. One bug, and a few uncle...Sebastian Redl
2009-03-04Minor cleanup for choose expressions: add a helper that returns the Eli Friedman
2009-02-28Fix obvious shortcoming in the implementations of Evaluate for Eli Friedman
2009-02-27Change the AST generated for offsetof a bit so that it looks like a Eli Friedman
2009-02-27Some minor improvements to Evaluate.Eli Friedman
2009-02-26Add Type::hasPointerRepresentation predicate.Daniel Dunbar
2009-02-26Remove short-circuit evaluation and the extension warnings. I'm Eli Friedman
2009-02-24first wave of fixes for @encode sema support. This is part of PR3648.Chris Lattner
2009-02-23Revert http://llvm.org/viewvc/llvm-project?view=rev&revision=65244.Steve Naroff
2009-02-23A few small improvements to Evaluate for stuff I noted in FIXMEs.Eli Friedman
2009-02-22A bit of Evaluate cleanup. Also, a full audit of what's missing that Eli Friedman
2009-02-22Enhance Evaluate to handle ObjC qualified id and class types; as far as Eli Friedman
2009-02-22Fix for PR3433: map __alignof__ to preferred alignment. (This was Eli Friedman
2009-02-21Evaluation of unary deref could call integer evaluator on non-integralDaniel Dunbar
2009-02-20Handle constant int -> ptr casts of lvalue results.Daniel Dunbar
2009-02-20Add support for * (unary dereference) operator to ExprConstant.Eli Friedman
2009-02-20ExprConstant handling for a couple more cases of pointer-to-int casts Eli Friedman
2009-02-19Extend Evaluate() to fold (int) <pointer type>.Daniel Dunbar
2009-02-19Simplify, no functionality change.Daniel Dunbar
2009-02-19Add enough checking to ensure that non-constant block literals don'tMike Stump
2009-02-19Change IntExprEvaluator to operate on an APValue not an APSInt.Daniel Dunbar
2009-02-19Add another IntExprEvaluator::Success overload to suck up remained ofDaniel Dunbar
2009-02-19Add IntExprEvaluator::Success method.Daniel Dunbar
2009-02-19Handle the GNU void* and function pointer arithmetic extensions for constant ...Anders Carlsson
2009-02-19More codegen for blocks. The type of block literals should be better.Mike Stump
2009-02-18Codegen for int (^bp)(int) = 0;Mike Stump
2009-02-17Rename UnaryTypeTraitExpr::Evaluate to EvaluateTrait to not collideDaniel Dunbar
2009-02-17Eek! getDeclAlign sometimes returned alignment in bits.Daniel Dunbar
2009-02-17Renamed ASQualType to ExtQualType to reflect its moreFariborz Jahanian
2009-02-14Add hook to add attributes to function declarations that we knowDouglas Gregor
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