aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ExprConstant.cpp
AgeCommit message (Expand)AuthorFilesLines
2013-01-29Fix a crash in OpenCL code by using the proper (RHS) bit-width.Joey Gouly1-2/+2
2013-01-24removed duplicated comment.Fariborz Jahanian1-1/+0
2013-01-24Patch to check for integer overflow. It has beenFariborz Jahanian1-17/+57
2013-01-22Switch to APFloat constructor taking fltSemantics.Tim Northover1-2/+1
2013-01-20Implement OpenCL event_t as Clang builtin type, including event_t related Ope...Guy Benyei1-0/+2
2013-01-12Remove useless 'llvm::' qualifier from names like StringRef and others that areDmitri Gribenko1-15/+14
2013-01-09Issue warning when case value is too large to fitFariborz Jahanian1-1/+3
2013-01-07Scalar shifts in the OpenCL specification (as of v. 1.2) are defined to beDavid Tweed1-6/+16
2013-01-02s/CPlusPlus0x/CPlusPlus11/gRichard Smith1-17/+17
2012-12-28Replace magic numbers in CheckICE with an enum.Richard Smith1-70/+66
2012-12-28PR14729: Fix typo in CheckICE for BinaryConditionalOperators.Richard Smith1-1/+1
2012-12-01Include pruning and general cleanup.Benjamin Kramer1-2/+3
2012-10-17DR1535: only potentially-evaluated typeid expressions are disallowed in constantRichard Smith1-12/+6
2012-10-06Expose __builtin_bswap16.Benjamin Kramer1-0/+1
2012-10-03CodeGen: Fix a silly typo when emitting subs of block addresses.Benjamin Kramer1-1/+1
2012-10-01Fix treatment of case which came up on std-proposals@: 'void' is permitted in...Richard Smith1-3/+1
2012-09-28Allow __builtin_bswap32/64 in constant expressions, like gcc does. Patch by T...Richard Smith1-0/+9
2012-09-12PR13811: Add a FunctionParmPackExpr node to handle references to functionRichard Smith1-0/+1
2012-08-31Change the representation of builtin functions in the ASTEli Friedman1-0/+2
2012-08-29Move TLS check from LValueExprEvaluator::VisitVarDecl toHans Wennborg1-2/+8
2012-08-29Fix r162835 as per Richard's comments.Hans Wennborg1-1/+1
2012-08-29The address of a TLS var is not compile-time constant (PR13720)Hans Wennborg1-0/+2
2012-08-23Change a bunch of cases where we do "getAs<...>->doSomething()" toTed Kremenek1-8/+8
2012-08-13Factor out computation of whether a typeid's expression is potentiallyRichard Smith1-0/+3
2012-08-07Teach Expr::HasSideEffects about all the Expr types, and fix a bug where itRichard Smith1-92/+3
2012-08-04objective-C string literal has no side-effect,Fariborz Jahanian1-0/+1
2012-07-20Let Expr::HasSideEffects() return false for NULL, bool literals, this, and nu...Nico Weber1-0/+6
2012-07-17Don't treat overflow in floating-point conversions as a hard error in constan...Eli Friedman1-6/+5
2012-07-13add support for conditional expressions in Expr::HasSideEffects()Nuno Lopes1-0/+3
2012-07-10Fix crash when constant-evaluating a CXXConstructExpr representingRichard Smith1-8/+9
2012-07-07PR13290: Constant-evaluation support for CXXConstructExprs which construct aRichard Smith1-19/+39
2012-06-26Remove typedef which is unused after r159189.Richard Smith1-4/+0
2012-06-26Fix lifetime issue for backing APValue of OpaqueValueExpr in recursiveRichard Smith1-41/+7
2012-06-25Use std::map instead of llvm::DenseMap because we rely on the stability of re...Eli Friedman1-2/+6
2012-06-06Revert Decl's iterators back to pointer value_type rather than reference valu...David Blaikie1-4/+4
2012-05-23If the first argument of __builtin_object_size can be folded to a constantRichard Smith1-4/+13
2012-05-01My first effort to do this more subtly failed, so elaboratelyJohn McCall1-31/+59
2012-04-30Remove the ref/value inconsistency in filter_decl_iterator.David Blaikie1-11/+11
2012-04-26Fix a crash-on-invalid where the constant evaluator would try toJohn McCall1-0/+5
2012-04-19Implements boxed expressions for Objective-C. <rdar://problem/10194391>Patrick Beard1-2/+2
2012-04-16Per Richard's comments on r154794, add the checks necessary to handle constan...Eli Friedman1-2/+13
2012-04-16Make constant evaluation for pointer comparisons work correctly for some unco...Eli Friedman1-6/+18
2012-04-16The result of the Microsoft __uuidof operator must be considered a global lva...Francois Pichet1-0/+6
2012-04-15PR12226: don't generate wrong code if a braced string literal is used toRichard Smith1-6/+9
2012-04-13Implement the missing pieces needed to support libstdc++4.7's <atomic>:Richard Smith1-26/+26
2012-04-11Provide, and document, a set of __c11_atomic_* intrinsics to implement C11'sRichard Smith1-1/+2
2012-04-08Don't forget to evaluate the subexpression in a null pointer cast. If we'reRichard Smith1-0/+2
2012-04-06Implement support for null non-type template arguments for non-typeDouglas Gregor1-2/+4
2012-03-22Simplify DataRecursiveIntBinOpEvaluator::VisitBinOp() a bit and make sure we ...Argyrios Kyrtzidis1-13/+9
2012-03-21Change the binary operator data recursive evaluator to not stop at the firstRichard Trieu1-16/+14