[llvm] CodeGen: fix the build against gcc-16 (invisible destructors) (PR #142287)
via llvm-commits
llvm-commits at lists.llvm.org
Sat May 31 13:59:18 PDT 2025
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 HEAD~1 HEAD --extensions h,cpp -- llvm/include/llvm/CodeGen/AsmPrinter.h llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp llvm/lib/CodeGen/AsmPrinter/DebugLocStream.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 26d290f4b..847f51554 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -14,8 +14,8 @@
#include "CodeViewDebug.h"
#include "DwarfCompileUnit.h"
#include "DwarfDebug.h"
-#include "DwarfUnit.h"
#include "DwarfException.h"
+#include "DwarfUnit.h"
#include "PseudoProbePrinter.h"
#include "WasmException.h"
#include "WinCFGuard.h"
``````````
</details>
https://github.com/llvm/llvm-project/pull/142287
More information about the llvm-commits
mailing list