[llvm] Remove unused <array> and <list> inclusion (PR #167116)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 8 02:05:45 PST 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 origin/main HEAD --extensions cpp,h -- llvm/examples/SpeculativeJIT/SpeculativeJIT.cpp llvm/include/llvm/DebugInfo/LogicalView/Core/LVObject.h llvm/include/llvm/DebugInfo/LogicalView/Core/LVScope.h llvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h llvm/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h llvm/include/llvm/ProfileData/InstrProf.h llvm/include/llvm/TargetParser/AArch64TargetParser.h llvm/lib/Demangle/MicrosoftDemangle.cpp llvm/lib/ExecutionEngine/JITLink/COFFLinkGraphBuilder.h llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h llvm/lib/Support/MD5.cpp llvm/lib/TargetParser/RISCVISAInfo.cpp llvm/unittests/Support/ParallelTest.cpp llvm/utils/UnicodeData/UnicodeNameMappingGenerator.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/ExecutionEngine/JITLink/COFFLinkGraphBuilder.h b/llvm/lib/ExecutionEngine/JITLink/COFFLinkGraphBuilder.h
index bae7f49cb..50ba2f822 100644
--- a/llvm/lib/ExecutionEngine/JITLink/COFFLinkGraphBuilder.h
+++ b/llvm/lib/ExecutionEngine/JITLink/COFFLinkGraphBuilder.h
@@ -23,7 +23,6 @@
#define DEBUG_TYPE "jitlink"
-
namespace llvm {
namespace jitlink {
diff --git a/llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h b/llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h
index 6cd09bf22..91021e457 100644
--- a/llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h
+++ b/llvm/lib/ExecutionEngine/JITLink/MachOLinkGraphBuilder.h
@@ -21,7 +21,6 @@
#include "EHFrameSupportImpl.h"
#include "JITLinkGeneric.h"
-
namespace llvm {
namespace jitlink {
``````````
</details>
https://github.com/llvm/llvm-project/pull/167116
More information about the llvm-commits
mailing list