aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ExprConstant.cpp
AgeCommit message (Expand)AuthorFilesLines
2017-07-05fix trivial typos in comments; NFCHiroshi Inoue1-2/+2
2017-06-26Revert r301742, which caused us to try to evaluate all full-expressions.Richard Smith1-9/+4
2017-06-23Revert "[MS] Don't statically initialize dllimport member function pointers"Reid Kleckner1-16/+0
2017-06-23[MS] Don't statically initialize dllimport member function pointersReid Kleckner1-0/+16
2017-06-13Revert "Revert r301742 which made ExprConstant checking apply to all full-exp...Diana Picus1-4/+9
2017-06-12Revert r301742 which made ExprConstant checking apply to all full-exprs.Nick Lewycky1-9/+4
2017-06-12Revert r303316, a change to ExprConstant to evaluate function arguments.Nick Lewycky1-28/+5
2017-06-03Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.Galina Kistanova1-0/+3
2017-05-26Create valid LValue to represent null pointers in constant exprsTim Northover1-6/+14
2017-05-17The constant expression evaluator should examine function arguments for non-c...Nick Lewycky1-5/+28
2017-05-02Revert r301822 (and dependent r301825), which tried to improve theDaniel Jasper1-136/+106
2017-05-02Revert r301785 (and r301787) because they caused PR32864.Nick Lewycky1-7/+1
2017-05-01Silence unused variable warning. NFC.Benjamin Kramer1-1/+1
2017-05-01Improve handling of arrays of unknown bound in constant expressions.Richard Smith1-106/+136
2017-05-01Handle expressions with non-literal types like ignored expressions if we are ...Nick Lewycky1-1/+7
2017-04-29Remove Sema::CheckForIntOverflow, and instead check all full-expressions.Nick Lewycky1-4/+9
2017-04-29ObjCBoxedExpr can't be evaluated by the constant expression evaluator.Nick Lewycky1-2/+5
2017-04-27In the expression evaluator, visit the index of an ArraySubscriptExpr even if...Nick Lewycky1-3/+8
2017-04-27In the expression evaluator, descend into both the true and false expressions...Nick Lewycky1-1/+7
2017-03-21Apply clang-tidy's performance-unnecessary-value-param to parts of clang.Benjamin Kramer1-5/+8
2017-03-08Honor __unaligned in codegen for declarations and expressionsRoger Ferrer Ibanez1-0/+2
2017-03-06[coroutines] Add DependentCoawaitExpr and fix re-building CoroutineBodyStmt.Eric Fiselier1-0/+1
2017-02-22PR32034: Evaluate _Atomic(T) in-place when T is a class or array type.Richard Smith1-12/+37
2017-02-16Silence sign compare warning. NFC.Benjamin Kramer1-6/+6
2017-02-16[OpenCL] Correct ndrange_t implementationAnastasia Stulova1-1/+0
2017-02-16[cxx1z-constexpr-lambda] Implement captures - thus completing implementation ...Faisal Vali1-7/+101
2017-02-10Don't let EvaluationModes dictate whether an invalid base is OKGeorge Burgess IV1-37/+57
2017-02-02Fix typo. NFCGeorge Burgess IV1-1/+1
2017-01-31Handle ObjCEncodeExpr in extractStringLiteralCharacter.Akira Hatanaka1-1/+8
2017-01-31Improve fix for PR28739Richard Smith1-69/+87
2017-01-30PR28739: Check that integer values fit into 64 bits before extracting them as...Richard Smith1-30/+42
2017-01-26PR0091R3: Implement parsing support for using templates as types.Richard Smith1-0/+1
2017-01-20P0426: Make the library implementation of constexpr char_traits a little easierRichard Smith1-0/+2
2017-01-09Allow constexpr construction of subobjects unconditionally, not just in C++14.David L. Jones1-2/+11
2017-01-09Add the diagnose_if attribute to clang.George Burgess IV1-2/+17
2017-01-09[cxx1z-constexpr-lambda] Implement constant evaluation of non-capturing lambd...Faisal Vali1-0/+19
2017-01-08[cxx1z-constexpr-lambda] Make conversion function constexpr, and teach the ex...Faisal Vali1-6/+40
2017-01-03Re-add objectsize function/incomplete type checks.George Burgess IV1-2/+8
2016-12-27Emit CCEDiags when evaluating a const variable.George Burgess IV1-1/+4
2016-12-23Fix problems in "[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare ope...Egor Churaev1-0/+2
2016-12-22Add the alloc_size attribute to clang, attempt 2.George Burgess IV1-183/+433
2016-12-20Revert "[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand."Daniel Jasper1-2/+0
2016-12-20[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand.Egor Churaev1-0/+2
2016-12-20Revert r290149: Add the alloc_size attribute to clang.Chandler Carruth1-434/+182
2016-12-20Add the alloc_size attribute to clang.George Burgess IV1-182/+434
2016-12-15Re-commit r289252 and r289285, and fix PR31374Yaxun Liu1-15/+42
2016-12-15[c++1z] Permit constant evaluation of a call through a function pointer whoseRichard Smith1-1/+4
2016-12-14Revert 289252 (and follow-up 289285), it caused PR31374Nico Weber1-42/+15
2016-12-14Replace APFloatBase static fltSemantics data members with getter functionsStephan Bergmann1-2/+2
2016-12-13Align EvalInfo in ExprConstant to avoid PointerUnion assertionsReid Kleckner1-1/+1