aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/ExprConstant.cpp
AgeCommit message (Expand)Author
2011-12-21constexpr: diagnostic improvements for invalid lvalue-to-rvalue conversions inRichard Smith
2011-12-19Evaluation support for ExprWithCleanups. We won't evaluate any expression whichRichard Smith
2011-12-19Improve r146813 (for PR11595) to give an appropriate diagnostic.Richard Smith
2011-12-19constexpr handling improvements. Produce detailed diagnostics when a 'constexpr'Richard Smith
2011-12-18PR11604: don't allow floating-literal-to-integer casts in ICEs if the (trunca...Richard Smith
2011-12-17Add a missing check before trying to evaluate a temporary. PR11595.Eli Friedman
2011-12-16C++11 constexpr: Add note stacks containing backtraces if constant evaluationRichard Smith
2011-12-13Add checks and diagnostics for many of the cases which C++11 considers to notRichard Smith
2011-12-12Clean up diagnostic wording for disallowed casts in C++11 constant expressions.Richard Smith
2011-12-12Implement C++11 constant expression cast restrictions.Richard Smith
2011-12-12Fix some not-yet-used diagnostic code in a template, which gcc spotted and clangRichard Smith
2011-12-12Prepare constant expression infrastructure for the generation of richerRichard Smith
2011-12-10Add a fast path to the constant evaluator for integer literals. This speeds upRichard Smith
2011-12-09C++11 constant expressions: Don't use CheckICE in C++11; instead, determineRichard Smith
2011-12-09In ExprEvaluatorBase::VisitOpaqueValueExpr() add a sanity check to avoidArgyrios Kyrtzidis
2011-12-09Replace the implementation of __builtin_constant_p (which was based on the GCCRichard Smith
2011-12-07When folding the size of a global scope VLA to a constant, require the arrayRichard Smith
2011-12-06Move vector bitcast handling in constant expressions from the expressionRichard Smith
2011-12-05Make isWeakDecl available as a method on ValueDecl.Lang Hames
2011-11-21Add driver arguments -ftemplate-depth=N and -fconstexpr-depth=N, with the sameRichard Smith
2011-11-17Constant expression evaluation: add support for evaluation of member pointersRichard Smith
2011-11-16PR11391: Don't try to evaluate the LHS of a _Complex assignment as an rvalue.Richard Smith
2011-11-16Fix PR11385: A pointer constant expression which has been cast via an integer isRichard Smith
2011-11-12Represent an APValue based on a Decl as that Decl, rather than a DeclRefExprRichard Smith
2011-11-11Constant expression evalation: const_cast support.Richard Smith
2011-11-11Reduce the constexpr stack pressure somewhat. Hopefully this will be enough toRichard Smith
2011-11-11Constant expression evaluation: support for constexpr member functions. ThisRichard Smith
2011-11-10Revert r144273. It causes clang self-host build failure.Devang Patel
2011-11-10Constant expression evaluation: support for constexpr member functions.Richard Smith
2011-11-10Constant expression evaluation: support for evaluation of structs and unions ofRichard Smith
2011-11-10Temporary fix for a performance problem Eli spotted. The APValue representationRichard Smith
2011-11-09Constant expression evaluation: support for default arguments.Richard Smith
2011-11-08Fix a cluster of related issues involving value-dependence and constantRichard Smith
2011-11-07Constant expression evaluation: support for arrays.Richard Smith
2011-11-07Rip out CK_GetObjCProperty.John McCall
2011-11-07Constant expression evaluation: preserve subobject designator when flattening aRichard Smith
2011-11-07Allow constexpr variables' initializers to be folded in C++11 mode. ThisRichard Smith
2011-11-06Change the AST representation of operations on Objective-CJohn McCall
2011-11-04Remove unused variables.Benjamin Kramer
2011-11-04Constant expression evaluation: refactor to start the groundwork for coping withRichard Smith
2011-11-04Constant expression evaluation: track the manner in which an lvalue was written,Richard Smith
2011-11-04Constant expression evaluation: although we don't know whether a literal willRichard Smith
2011-11-01When constant-folding, don't look at the initializer of a global const variableRichard Smith
2011-11-01Temporarily disable lvalue-to-rvalue conversions on const pointers while anRichard Smith
2011-11-01Implement C++11 'constexpr calls must return constant expressions' rule, andRichard Smith
2011-10-31Some minor comment changes in constant-folding comparisons.Eli Friedman
2011-10-31Don't try to fold comparisons between the address of an object and an arbitra...Eli Friedman
2011-10-31Refactoring and test for r143360. Support for array rvalue to pointer decay isRichard Smith
2011-10-31Temporary fix for assert while evaluating array-to-pointer decay on arrayRichard Smith
2011-10-31C++11 generalized constant expression handling: evaluation support forRichard Smith