summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/ExprConstant.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Improve r146813 (for PR11595) to give an appropriate diagnostic.Richard Smith2011-12-191-6/+11
* constexpr handling improvements. Produce detailed diagnostics when a 'constexpr'Richard Smith2011-12-191-65/+54
* PR11604: don't allow floating-literal-to-integer casts in ICEs if the (trunca...Richard Smith2011-12-181-3/+17
* Add a missing check before trying to evaluate a temporary. PR11595.Eli Friedman2011-12-171-0/+3
* C++11 constexpr: Add note stacks containing backtraces if constant evaluationRichard Smith2011-12-161-19/+105
* Add checks and diagnostics for many of the cases which C++11 considers to notRichard Smith2011-12-131-89/+203
* Clean up diagnostic wording for disallowed casts in C++11 constant expressions.Richard Smith2011-12-121-2/+7
* Implement C++11 constant expression cast restrictions.Richard Smith2011-12-121-0/+19
* Fix some not-yet-used diagnostic code in a template, which gcc spotted and clangRichard Smith2011-12-121-1/+1
* Prepare constant expression infrastructure for the generation of richerRichard Smith2011-12-121-69/+81
* Add a fast path to the constant evaluator for integer literals. This speeds upRichard Smith2011-12-101-0/+8
* C++11 constant expressions: Don't use CheckICE in C++11; instead, determineRichard Smith2011-12-091-284/+379
* In ExprEvaluatorBase::VisitOpaqueValueExpr() add a sanity check to avoidArgyrios Kyrtzidis2011-12-091-3/+10
* Replace the implementation of __builtin_constant_p (which was based on the GCCRichard Smith2011-12-091-5/+47
* When folding the size of a global scope VLA to a constant, require the arrayRichard Smith2011-12-071-0/+34
* Move vector bitcast handling in constant expressions from the expressionRichard Smith2011-12-061-31/+1
* Make isWeakDecl available as a method on ValueDecl.Lang Hames2011-12-051-9/+3
* Add driver arguments -ftemplate-depth=N and -fconstexpr-depth=N, with the sameRichard Smith2011-11-211-8/+8
* Constant expression evaluation: add support for evaluation of member pointersRichard Smith2011-11-171-151/+674
* PR11391: Don't try to evaluate the LHS of a _Complex assignment as an rvalue.Richard Smith2011-11-161-0/+4
* Fix PR11385: A pointer constant expression which has been cast via an integer isRichard Smith2011-11-161-0/+1
* Represent an APValue based on a Decl as that Decl, rather than a DeclRefExprRichard Smith2011-11-121-86/+74
* Constant expression evalation: const_cast support.Richard Smith2011-11-111-6/+1
* Reduce the constexpr stack pressure somewhat. Hopefully this will be enough toRichard Smith2011-11-111-1/+1
* Constant expression evaluation: support for constexpr member functions. ThisRichard Smith2011-11-111-46/+118
* Revert r144273. It causes clang self-host build failure.Devang Patel2011-11-101-56/+31
* Constant expression evaluation: support for constexpr member functions.Richard Smith2011-11-101-31/+56
* Constant expression evaluation: support for evaluation of structs and unions ofRichard Smith2011-11-101-142/+620
* Temporary fix for a performance problem Eli spotted. The APValue representationRichard Smith2011-11-101-0/+6
* Constant expression evaluation: support for default arguments.Richard Smith2011-11-091-0/+2
* Fix a cluster of related issues involving value-dependence and constantRichard Smith2011-11-081-1/+4
* Constant expression evaluation: support for arrays.Richard Smith2011-11-071-33/+127
* Rip out CK_GetObjCProperty.John McCall2011-11-071-2/+0
* Constant expression evaluation: preserve subobject designator when flattening aRichard Smith2011-11-071-38/+70
* Allow constexpr variables' initializers to be folded in C++11 mode. ThisRichard Smith2011-11-071-2/+4
* Change the AST representation of operations on Objective-CJohn McCall2011-11-061-0/+1
* Remove unused variables.Benjamin Kramer2011-11-041-2/+0
* Constant expression evaluation: refactor to start the groundwork for coping withRichard Smith2011-11-041-15/+55
* Constant expression evaluation: track the manner in which an lvalue was written,Richard Smith2011-11-041-44/+172
* Constant expression evaluation: although we don't know whether a literal willRichard Smith2011-11-041-2/+4
* When constant-folding, don't look at the initializer of a global const variableRichard Smith2011-11-011-5/+11
* Temporarily disable lvalue-to-rvalue conversions on const pointers while anRichard Smith2011-11-011-1/+2
* Implement C++11 'constexpr calls must return constant expressions' rule, andRichard Smith2011-11-011-88/+60
* Some minor comment changes in constant-folding comparisons.Eli Friedman2011-10-311-2/+6
* Don't try to fold comparisons between the address of an object and an arbitra...Eli Friedman2011-10-311-0/+6
* Refactoring and test for r143360. Support for array rvalue to pointer decay isRichard Smith2011-10-311-3/+6
* Temporary fix for assert while evaluating array-to-pointer decay on arrayRichard Smith2011-10-311-1/+3
* C++11 generalized constant expression handling: evaluation support forRichard Smith2011-10-311-46/+89
* C++11 generalized constant expressions: evaluate equality comparisons betweenRichard Smith2011-10-311-36/+44
* C++11 generalized constant expressions: support pointer comparisons where theRichard Smith2011-10-311-40/+61
OpenPOWER on IntegriCloud