aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/ExprConstant.cpp
AgeCommit message (Expand)Author
2009-07-01Implement Eli's feedback for vecto constant expressions;Nate Begeman
2009-06-30De-ASTContext-ify DeclContext.Argyrios Kyrtzidis
2009-06-26OpenCL 1.0 Support:Nate Begeman
2009-06-14PR4351: Add constant evaluation for constructs like "foo == NULL", where Eli Friedman
2009-06-14Sink the BuiltinInfo object from ASTContext into theChris Lattner
2009-06-04Minor simplification.Eli Friedman
2009-06-04PR4326: Handle constant evaluation for void* pointer subtraction Eli Friedman
2009-05-30Some small fixes for fields of reference type.Eli Friedman
2009-05-30Cleqnup ideas from Chris, thanks.Mike Stump
2009-05-30Improve __builtin_nanf support; we now can deal with them as constants.Mike Stump
2009-05-27Fix up constant expression handling to deal with the address Eli Friedman
2009-05-26When evaluating a VarDecl as a constant or determining whether it isDouglas Gregor
2009-05-10Implement C++0x nullptr.Sebastian Redl
2009-05-03Remove an unneeded special case.Daniel Dunbar
2009-04-30Properly compute the alignment of typedefs that make use of theDouglas Gregor
2009-04-29Minor simplification; also silences gcc warning.Eli Friedman
2009-04-28PR4097: add logic to Evaluate to handle pointer equality comparisons.Eli Friedman
2009-04-22Add handling for complex->int, int->complex float, and float->complex Eli Friedman
2009-04-21Use an ASTRecordLayout to compute the sizeof an interface, notDaniel Dunbar
2009-04-16Fix <rdar://problem/6765383> clang-6: clang does not appear to support declar...Steve Naroff
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