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 4789571d88a7476bf155214e70ae6d15ab277a2e 
0754d4913701daa10cc1c15a0aa7f9216ea63e48 --extensions h,cpp -- 
llvm/include/llvm/CodeGen/AsmPrinter.h llvm/include/llvm/MC/MCObjectFileInfo.h 
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp llvm/lib/MC/MCObjectFileInfo.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp 
b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index f81c443faf..ecfa430b5c 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -1728,7 +1728,7 @@ void AsmPrinter::emitCallGraphSection(const 
MachineFunction &MF,
   OutStreamer->emitInt64(CallSiteLabels.size());
 
   // Emit the type id and call site label pairs.
-  for (const auto& [TypeId, Label] : CallSiteLabels) {
+  for (const auto &[TypeId, Label] : CallSiteLabels) {
     OutStreamer->emitInt64(TypeId);
     OutStreamer->emitSymbolValue(Label, TM.getProgramPointerSize());
   }

``````````

</details>


https://github.com/llvm/llvm-project/pull/87576
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to