aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/ExprConstant.cpp
AgeCommit message (Expand)Author
2012-03-07AST representation for user-defined literals, plus just enough of semanticRichard Smith
2012-03-07The constant folder's diagnosic mechanism is irrelevant for C; don't botherRichard Smith
2012-03-06Add clang support for new Objective-C literal syntax for NSDictionary, NSArray,Ted Kremenek
2012-03-03constexpr: Remove APValue/CCValue distinction. It is no longer useful given theRichard Smith
2012-03-01Move llvm/ADT/SaveAndRestore.h -> llvm/Support/SaveAndRestore.h.Argyrios Kyrtzidis
2012-02-27When evaluating integer expressions include a check for sub-expressionsArgyrios Kyrtzidis
2012-02-27Revert testing code I committed by mistake in r151464.Argyrios Kyrtzidis
2012-02-25Revert r151460 as it is not enough to address the issue.Argyrios Kyrtzidis
2012-02-25When evaluating integer expressions handle logical operators outsideArgyrios Kyrtzidis
2012-02-24When checking whether a reference to a variable is an ICE, look at the type ofRichard Smith
2012-02-24Remove some trivial uses of hasTrivialCopyConstructor() andDouglas Gregor
2012-02-24Implement a new type trait __is_trivially_constructible(T, Args...)Douglas Gregor
2012-02-22Generate an AST for the conversion from a lambda closure type to aDouglas Gregor
2012-02-21Fix a crash in the diangostic code in EvalConstant. PR12043.Eli Friedman
2012-02-19Refuse to compile global std::initializer_lists instead of doing completely t...Sebastian Redl
2012-02-18Implement constant expression support for __real__ and __imag__ on lvalueRichard Smith
2012-02-18Fix a problem in the GCC testsuite, exposed by r150557. Compound literalsRichard Smith
2012-02-17Make sure all remaining parts of the constant evaluator are aware that an arrayRichard Smith
2012-02-17PR12012: Fix a regression in r150419 where we would try (and fail) toRichard Smith
2012-02-16constexpr tidyups:Richard Smith
2012-02-15Implement DR1454. This allows all intermediate results in constant expressionsRichard Smith
2012-02-15Split reinterpret_casts of member pointers out from CK_BitCast; thisJohn McCall
2012-02-14constexpr: evaluation support for nullptr comparisons.Richard Smith
2012-02-14Pending clear answer from WG21 on whether core issue 903 is intended to apply toRichard Smith
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