aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/ExprConstant.cpp
AgeCommit message (Expand)Author
2012-02-13Deal with a horrible C++11 special case. If a non-literal type has a constexprRichard Smith
2012-02-13Update constexpr implementation to match CWG's chosen approach for core issuesRichard Smith
2012-02-10Update to new resolution for DR1458. When taking the address of an object ofRichard Smith
2012-02-09CWG issue 1405: mutable members are allowed in literal types, but can't undergoRichard Smith
2012-02-08Implement DR1458: Taking the address of an object of incomplete class type isRichard Smith
2012-02-08Implement the agreed resolution to DR1457: a signed left shift of a 1 bit intoRichard Smith
2012-02-07Revert my patches which removed Diagnostic.h includes by moving some operator...Benjamin Kramer
2012-02-07Introduce basic ASTs for lambda expressions. This covers:Douglas Gregor
2012-02-05constexpr: Fix implementation of DR1311: check for volatile qualifiers inRichard Smith
2012-02-04Move various diagnostic operator<< overloads out of line and remove includes ...Benjamin Kramer
2012-02-04constexpr:Richard Smith
2012-02-02constexpr:Richard Smith
2012-02-01constexpr: check for overflow in pointer subtraction.Richard Smith
2012-02-01constexpr: overflow checking for integral and floating-point arithmetic.Richard Smith
2012-02-01constexpr: require 'this' to point to an object in a constexpr method call.Richard Smith
2012-02-01constexpr: add support for comparisons of pointer-to-members.Richard Smith
2012-01-31constexpr: Treat INT_MIN % -1 as undefined behavior in C++11. Technically, itRichard Smith
2012-01-31constexpr: the result of a relational operator between pointers to void isRichard Smith
2012-01-31constexpr: catch a collection of integral undefined behaviors:Richard Smith
2012-01-31constexpr: remove integral conversion overflow checking introduced in r149286.Richard Smith
2012-01-30constexpr: disallow signed integer overflow in integral conversions in constantRichard Smith
2012-01-27constexpr: Implement the [dcl.constexpr]p5 check for whether a constexprRichard Smith
2012-01-26AST/ExprConstant.cpp: Silence a warning on ms cl.exe. "bool" does not prefer ...NAKAMURA Takumi
2012-01-26constexpr: evaluate (bool)&x as true when x is a local variable or a temporary.Richard Smith
2012-01-25constexpr: add support for anonymous struct and union members in literal types.Richard Smith
2012-01-20More dead code removal (using -Wunreachable-code)David Blaikie
2012-01-18Move narrowing conversion detection code from SemaInit to SemaOverload, readyRichard Smith
2012-01-18A call to strlen is not a constant expression, even if we're treating it as aRichard Smith
2012-01-17Enable constant evaluation of implicit calls to constexpr conversion operators.Richard Smith
2012-01-16Some improvements to the handling of C11 atomic types:David Chisnall
2012-01-15constexpr: casts to void* are allowed in constant expressions, don't set theRichard Smith
2012-01-14constexpr irgen: Add irgen support for APValue::Struct, APValue::Union,Richard Smith
2012-01-13Fix a silly mistake in ComplexExprEvaluator::ZeroInitialization. <rdar://pro...Eli Friedman
2012-01-12constexpr: initialization of a union from an empty initializer-list shouldRichard Smith
2012-01-12Allow constant-folding of references which were formed in a manner not permittedRichard Smith
2012-01-10Implement the missing pieces of Evaluate for _Complex types. With that compl...Eli Friedman
2012-01-10PR11724: Implement evaluation for constexpr defaulted trivial union copy/moveRichard Smith
2012-01-06C++11 generalized constant expressions: implement checking and diagnostics forRichard Smith
2012-01-05Address Richard's review comments on r147561 (Evaluate support for address-of...Eli Friedman
2012-01-04Add an APValue representation for the difference between two address-of-label...Eli Friedman
2012-01-03Get rid of an unnecessary check; the AST for init-lists is the same independe...Eli Friedman
2012-01-03Support constant evaluation for OpenCL nested vector literals. Patch by Anto...Eli Friedman
2011-12-30Unrevert r147271, reverted in r147361.Richard Smith
2011-12-30Revert r147271. This fixes PR11676.Rafael Espindola
2011-12-28Small refactoring and simplification of constant evaluation and some of itsRichard Smith
2011-12-27constexpr: support for evaluation and codegen of typeid constants.Richard Smith
2011-12-25constexpr: perform zero-initialization prior to / instead of performing aRichard Smith
2011-12-22Add support for bitcasts to vector type in Evaluate.Eli Friedman
2011-12-22PR11614: Mark defaulted special constructors as constexpr if their implicitRichard Smith
2011-12-22PR11637: implement special-case constant evaluation for char arrays initializedRichard Smith