aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/ExprConstant.cpp
AgeCommit message (Expand)Author
2011-01-04Implement the sizeof...(pack) expression to compute the length of aDouglas Gregor
2011-01-03Implement support for pack expansions whose pattern is a non-typeDouglas Gregor
2010-12-23Change all self assignments X=X to (void)X, so that we can turn on aJeffrey Yasskin
2010-12-14Rewrite ComplexExprEvaluator::VisitCastExpr to use cast kinds, and fixJohn McCall
2010-12-11Improved complex constants evaluation.Abramo Bagnara
2010-12-08Remove the TypesCompatibleExprClass AST node. Merge its functionality into Bi...Francois Pichet
2010-12-07PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() andJay Foad
2010-12-07Type traits intrinsic implementation: __is_base_of(T, U)Francois Pichet
2010-12-06Rename CXXExprWithTemporaries -> ExprWithCleanups; there's no theoreticalJohn McCall
2010-12-02Simplify the ASTs by consolidating ObjCImplicitGetterSetterExpr and ObjCPrope...John McCall
2010-11-16Kill CK_Unknown and flesh out the documentation for the existing CastKinds.John McCall
2010-11-15Add a new expression kind, OpaqueValueExpr, which is useful forJohn McCall
2010-11-14Add a few more complex-related cast kinds that arise due to arbitraryJohn McCall
2010-11-13Introduce five new cast kinds for various conversions into andJohn McCall
2010-11-13Introduce a null-to-pointer implicit cast kind.John McCall
2010-11-09Split out -Wconversion warnings about constant precision into theirJohn McCall
2010-10-31Rename getBaseClassOffset to getBaseClassOffsetInBits and introduce a getBase...Anders Carlsson
2010-10-31Teach the constant expr evaluator about derived-to-base casts when no virtual...Anders Carlsson
2010-10-31Don't try to evaluate the LHS or RHS of a member pointer binary operation. Fi...Anders Carlsson
2010-10-14Eliminate usage of ObjCSuperExpr used forFariborz Jahanian
2010-10-09Permit constant evaluation of const floating-point variables withJohn McCall
2010-09-13Eagerly evaluate type traits in Sema instead of lazily in AST. They actually ...Sebastian Redl
2010-09-10First version of a testcase, plus fixes.Sebastian Redl
2010-09-10Define and implement CXXNoexceptExpr. Create it in Sema.Sebastian Redl
2010-09-10Support strlen() and __builtin_strlen() as constant expressions withDouglas Gregor
2010-09-08Fix warnings caused by new CXXUuidofExprClass enumerator.Francois Pichet
2010-09-06Get rid of unnecessary return.Eli Friedman
2010-09-06PR7242: Make sure to use a different context for evaluating constantEli Friedman
2010-09-02Eliminate CXXBindReferenceExpr, which was used in a ton ofDouglas Gregor
2010-08-30Revert my user-defined literal commits - r1124{58,60,67} pendingSean Hunt
2010-08-29Implement C++0x user-defined string literals.Sean Hunt
2010-08-25GCC didn't care for my attempt at API compatibility, so brute-force everythingJohn McCall
2010-08-16Move a bunch of code out of the ComplexExprEvaluator class definition;Eli Friedman
2010-08-14PR7884: Fix the implementations of __real__ and __imag__ on real floats.Eli Friedman
2010-08-13Zap unused UnaryOperator::OffsetOf.Eli Friedman
2010-08-05Get rid of isObjectType; when C++ says "object type", it generallyEli Friedman
2010-07-26Fix namespace polution.Dan Gohman
2010-07-13Introduce a new cast kind for an "lvalue bitcast", which handlesDouglas Gregor
2010-07-08Reinstate the fix for PR7556. A silly use of isTrivial() wasDouglas Gregor
2010-07-07Revert r107828 and r107827, the fix for PR7556, which seems to beDouglas Gregor
2010-07-07Rename CXXZeroInitValueExpr to CXXScalarValueInitExpr, to reflect itsDouglas Gregor
2010-07-07Don't consider casted non-global pointers to be evaluatable.John McCall
2010-06-16Introduce Type::isIntegralOrEnumerationType(), to cover those placesDouglas Gregor
2010-06-11Fix the constant evaluator for AltiVec-style vector literals so that theJohn McCall
2010-05-16When constant folding reference variables with an initializer to theChandler Carruth
2010-05-14Added Expr::EvaluateAsAnyLValue.Abramo Bagnara
2010-05-10Refactor the constant-evaluator so that it only supports a single formJohn McCall
2010-05-07The FP constant evaluator was missing a few cases of unary operators that ret...John McCall
2010-05-07Make that null-dereference fix a little clearer by rearranging some code.John McCall
2010-05-07Fix a potential null dereference in the pointer-to-bool evaluator; caught byJohn McCall