aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ExprConstant.cpp
AgeCommit message (Expand)AuthorFilesLines
2025-08-06[clang][ExprConst] Consider integer pointers of value 0 nullptr (#150164)Timm Baeder1-5/+9
2025-08-05[clang] Fix constant evaluation of member pointer access into sibling class. ...keinflue1-0/+21
2025-08-04[AST] Use llvm::iterator_range::empty (NFC) (#151904)Kazu Hirata1-1/+1
2025-08-01[clang][ExprConst] Call `FastEvaluateAsRValue` in `isCXX11ConstantExpr` (#151...Timm Baeder1-13/+20
2025-08-01[clang][ExprConst] Remove Loc param (#151461)Timm Baeder1-31/+13
2025-07-30[clang] Forbid reinterpret_cast of function pointers in constexpr. (#150557)Eli Friedman1-4/+13
2025-07-24[clang] Fix const eval of constexpr-unknown relational comparisons. (#150088)Eli Friedman1-2/+4
2025-07-20[clang][bytecode] Use in Expr::tryEvaluateStrLen() (#149677)Timm Baeder1-0/+4
2025-07-19[Clang] Be less strict about diagnosing null pointer dereference. (#149648)Corentin Jabot1-3/+7
2025-07-19[clang][bytecode] Use bytecode interpreter in isPotentialConstantExprU… (#1...Timm Baeder1-0/+5
2025-07-17[clang] Fix potential constant expression checking with constexpr-unknown. (#...Eli Friedman1-4/+7
2025-07-16[Clang] Diagnose forming references to nullptr (#143667)Corentin Jabot1-19/+85
2025-07-15[clang] Fix pointer comparisons between pointers to constexpr-unknown (#147663)Eli Friedman1-6/+4
2025-07-11Follow up on #147623Owen Pan1-0/+1
2025-07-11[clang] Fix copy/paste error in vector `__builtin_elementwise_{add,sub}_sat` ...Connector Switch1-2/+2
2025-07-09Address a handful of C4146 compiler warnings where literals can be replaced w...Alex Sepkowski1-2/+2
2025-07-09[clang] Implement consteval for captured structured bindings. (#147615)Eli Friedman1-14/+14
2025-07-08[clang][CompundLiteralExpr] Don't defer evaluation for CLEs (#137163)kadir çetinkaya1-41/+49
2025-07-07[clang] Improve constexpr-unknown diagnostics. (#146288)Eli Friedman1-42/+27
2025-06-23Reland "[Modules] Record whether VarDecl initializers contain side effects" (...Henrik G. Olsson1-0/+6
2025-06-23[NFC][Clang][AST] Drop `llvm::` in front of `ArrayRef`/`MutableArrayRef` (#14...Rahul Joshi1-4/+3
2025-06-13Remove delayed typo expressions (#143423)Aaron Ballman1-1/+0
2025-06-11[C++20][Modules] Fix false compilation error with constexpr (#143168)Dmitry Polukhin1-1/+2
2025-06-06[clang] Check constexpr int->enum conversions consistently. (#143034)Eli Friedman1-17/+3
2025-06-05[Clang] Run destructors of variables declared in the second part of a `for` l...Vincent1-1/+5
2025-06-05[Clang] Fix constant eval of assignment operators with an explicit object par...Corentin Jabot1-23/+41
2025-06-03[clang] Don't evaluate the initializer of constexpr-unknown parameters. (#142...Eli Friedman1-1/+6
2025-05-28[AArch64] Rename AArch64SVEACLETypes.def and add base SVE_TYPE.David Green1-1/+1
2025-05-27[HLSL] Implement `SpirvType` and `SpirvOpaqueType` (#134034)Cassandra Beckley1-0/+1
2025-05-26[clang][ExprConst][NFC] Only call getExprLoc() once (#141473)Timm Baeder1-3/+4
2025-05-19[clang] fix constexpr-unknown handling of self-references. (#132990)Eli Friedman1-42/+31
2025-05-15[Clang][AST] Fix HandleLValueBase to deal with references (#140105)Shafik Yaghmour1-1/+5
2025-05-14[clang] Save ShuffleVectorExpr args as ConstantExpr (#139709)Timm Baeder1-1/+1
2025-05-14Better diagnostics when assertion fails in `consteval` (#130458)JJ Marr1-2/+15
2025-05-09Revert "[clang][ExprConst] Check for array size of initlists (#138673)"Timm Bäder1-8/+0
2025-05-09[clang][ExprConst] Check for array size of initlists (#138673)Timm Baeder1-0/+8
2025-05-08[clang][ExprConstant] Bail out on invalid lambda capture inits (#138832)Timm Baeder1-1/+1
2025-05-05[clang][bytecode] Use bytecode interpreter in EvaluateCharRangeAsString (#138...Timm Baeder1-1/+5
2025-05-02[Clang] Fix handling of reference types in tryEvaluateBuiltinObjectSize (#138...cor3ntin1-3/+5
2025-04-24Fix a crash in constant evaluation of ExtVectorElementExprs (#136771)Akira Hatanaka1-1/+4
2025-04-23Eval string one past end reland (#137091)Henrik G. Olsson1-2/+7
2025-04-23Revert "[ConstEval] Fix crash when comparing strings past the end" (#137088)Henrik G. Olsson1-7/+2
2025-04-23[ConstEval] Fix crash when comparing strings past the end (#137078)Henrik G. Olsson1-2/+7
2025-04-19[clang] Use llvm::append_range (NFC) (#136448)Kazu Hirata1-4/+2
2025-04-17[clang][ExprConst] Diagnose ptr subs with non-zero offset (#135938)Timm Baeder1-3/+0
2025-04-10[RFC] Initial implementation of P2719 (#113510)Oliver Hunt1-6/+8
2025-03-27[C2y] Implement WG14 N3369 and N3469 (_Countof) (#133125)Aaron Ballman1-0/+50
2025-03-25[clang] Placement new error when modifying consts (#132460)marius doerner1-0/+9
2025-03-21Reland: [clang] NFC: Clear some uses of MemberPointerType::getClass (#132317)Matheus Izvekov1-2/+3
2025-03-21[clang][ExprConst] Check record base classes for valid structs (#132270)Timm Baeder1-1/+6