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 0156b6ed6561f67f1b86ceef027908dd425e0615 924768f777245a271cfb84243c2c6ac980df1671 -- bolt/include/bolt/Core/MCPlusBuilder.h bolt/lib/Core/MCPlusBuilder.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/bolt/lib/Core/MCPlusBuilder.cpp b/bolt/lib/Core/MCPlusBuilder.cpp index deb3a8728acc..b99d0f21e6af 100644 --- a/bolt/lib/Core/MCPlusBuilder.cpp +++ b/bolt/lib/Core/MCPlusBuilder.cpp @@ -268,7 +268,7 @@ bool MCPlusBuilder::clearOffset(MCInst &Inst) const { MCSymbol *MCPlusBuilder::getLabel(const MCInst &Inst) const { if (std::optional<int64_t> Label = - getAnnotationOpValue(Inst, MCAnnotation::kLabel)) + getAnnotationOpValue(Inst, MCAnnotation::kLabel)) return reinterpret_cast<MCSymbol *>(*Label); return nullptr; } `````````` </details> https://github.com/llvm/llvm-project/pull/70147 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits