[llvm] [DWARFLinker][NFC] Move common code into the base library: Utils.h (PR #77604)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 10 05:27:56 PST 2024
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 414ea3a77181ef01d2cc2ad34950fc1c03ce0d41 6176c3e1da8d9fdfecde1f6a5eefc270c5c7baba -- llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp llvm/lib/DWARFLinker/Parallel/AcceleratorRecordsSaver.cpp llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp llvm/lib/DWARFLinker/Parallel/DWARFLinkerImpl.cpp llvm/lib/DWARFLinker/Utils.cpp llvm/include/llvm/DWARFLinker/Utils.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp b/llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
index bf30f2b20b..6ed284a66a 100644
--- a/llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
+++ b/llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
@@ -12,9 +12,9 @@
#include "DIEGenerator.h"
#include "DependencyTracker.h"
#include "SyntheticTypeNameBuilder.h"
+#include "llvm/DWARFLinker/Utils.h"
#include "llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h"
#include "llvm/DebugInfo/DWARF/DWARFDebugMacro.h"
-#include "llvm/DWARFLinker/Utils.h"
#include "llvm/Support/DJB.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/FormatVariadic.h"
``````````
</details>
https://github.com/llvm/llvm-project/pull/77604
More information about the llvm-commits
mailing list