github-actions[bot] wrote: <!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning: <details> <summary> You can test this locally with the following command: </summary> ``````````bash git-clang-format --diff 6e14f9b40e15600ae7832826b47a7f0c0503a1d7 02c3d9ef1eb15b0d7ebe7511f200b7c00d52d6c9 --extensions h,cpp -- clang/lib/CodeGen/BackendUtil.cpp llvm/include/llvm/Transforms/Instrumentation/LowerAllowCheckPass.h llvm/lib/Passes/PassBuilder.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index ffe640fd4b..66ee195abb 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/lib/CodeGen/BackendUtil.cpp @@ -797,11 +797,11 @@ static void addSanitizers(const Triple &TargetTriple, if (LowerAllowCheckPass::IsRequested()) { LowerAllowCheckPass::Options Opts; // We want to call it after inline, which is about OptimizerEarlyEPCallback. - PB.registerOptimizerEarlyEPCallback([Opts = std::move(Opts)](ModulePassManager &MPM, - OptimizationLevel Level, - ThinOrFullLTOPhase Phase) { - MPM.addPass(createModuleToFunctionPassAdaptor( - LowerAllowCheckPass(Opts))); + PB.registerOptimizerEarlyEPCallback([Opts = std::move(Opts)]( + ModulePassManager &MPM, + OptimizationLevel Level, + ThinOrFullLTOPhase Phase) { + MPM.addPass(createModuleToFunctionPassAdaptor(LowerAllowCheckPass(Opts))); }); } } `````````` </details> https://github.com/llvm/llvm-project/pull/122994 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits