[llvm] [CodeGen] Give ArgListEntry a proper constructor (NFC) (PR #153817)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 15 08:13:31 PDT 2025
================
@@ -320,12 +320,17 @@ class LLVM_ABI TargetLoweringBase {
MaybeAlign Alignment = std::nullopt;
Type *IndirectType = nullptr;
- ArgListEntry()
- : IsSExt(false), IsZExt(false), IsNoExt(false), IsInReg(false),
- IsSRet(false), IsNest(false), IsByVal(false), IsByRef(false),
- IsInAlloca(false), IsPreallocated(false), IsReturned(false),
- IsSwiftSelf(false), IsSwiftAsync(false), IsSwiftError(false),
- IsCFGuardTarget(false) {}
+ ArgListEntry(Value *Val, SDValue Node, Type *Ty)
+ : Val(Val), Node(Node), Ty(Ty), IsSExt(false), IsZExt(false),
----------------
nikic wrote:
Default member initializers for bit fields are only supported since C++20.
https://github.com/llvm/llvm-project/pull/153817
More information about the llvm-commits
mailing list