[llvm] Use MapVector to fix lld thinLTO bep issue. (PR #117551)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 05:55:00 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 ceaf6e912a846b88f19df682c6bdbe9516be04e9 fa5890fa6394781b8bcdc53722c10799bbd0a47f --extensions cpp,h -- llvm/lib/Object/ModuleSymbolTable.cpp llvm/lib/Object/RecordStreamer.h
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Object/RecordStreamer.h b/llvm/lib/Object/RecordStreamer.h
index 946578ef06..0a65507e0e 100644
--- a/llvm/lib/Object/RecordStreamer.h
+++ b/llvm/lib/Object/RecordStreamer.h
@@ -10,11 +10,11 @@
 #define LLVM_LIB_OBJECT_RECORDSTREAMER_H
 
 #include "llvm/ADT/DenseMap.h"
+#include "llvm/ADT/MapVector.h"
 #include "llvm/ADT/StringMap.h"
 #include "llvm/MC/MCDirectives.h"
 #include "llvm/MC/MCStreamer.h"
 #include "llvm/Support/SMLoc.h"
-#include "llvm/ADT/MapVector.h"
 #include <vector>
 
 namespace llvm {

``````````

</details>


https://github.com/llvm/llvm-project/pull/117551


More information about the llvm-commits mailing list