diff --git a/llvm/include/llvm/CodeGen/ByteProvider.h b/llvm/include/llvm/CodeGen/ByteProvider.h --- a/llvm/include/llvm/CodeGen/ByteProvider.h +++ b/llvm/include/llvm/CodeGen/ByteProvider.h @@ -29,8 +29,7 @@ /// are used to extract Bytes. template class ByteProvider { private: - ByteProvider(std::optional Src, int64_t DestOffset, - int64_t SrcOffset) + ByteProvider(std::optional Src, int64_t DestOffset, int64_t SrcOffset) : Src(Src), DestOffset(DestOffset), SrcOffset(SrcOffset) {} // TODO -- use constraint in c++20 diff --git a/llvm/lib/Transforms/IPO/AttributorAttributes.cpp b/llvm/lib/Transforms/IPO/AttributorAttributes.cpp --- a/llvm/lib/Transforms/IPO/AttributorAttributes.cpp +++ b/llvm/lib/Transforms/IPO/AttributorAttributes.cpp @@ -3472,8 +3472,7 @@ struct CachedReachabilityAA : public BaseTy { using RQITy = ReachabilityQueryInfo; - CachedReachabilityAA(const IRPosition &IRP, Attributor &A) - : BaseTy(IRP, A) {} + CachedReachabilityAA(const IRPosition &IRP, Attributor &A) : BaseTy(IRP, A) {} /// See AbstractAttribute::isQueryAA. bool isQueryAA() const override { return true; }