[llvm] [DebugInfo] Make DISubprogram's hashing always produce the same result (PR #90770)

via llvm-commits llvm-commits at lists.llvm.org
Wed May 1 13:26:06 PDT 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 4cbe7607c75486dd17a048a45dd8c72c3dbf7e62 8bedd86b319157f82abf39124b969c6104e27011 -- llvm/lib/IR/LLVMContextImpl.h llvm/unittests/IR/DebugInfoTest.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/unittests/IR/DebugInfoTest.cpp b/llvm/unittests/IR/DebugInfoTest.cpp
index e93f917e14..afda7102c8 100644
--- a/llvm/unittests/IR/DebugInfoTest.cpp
+++ b/llvm/unittests/IR/DebugInfoTest.cpp
@@ -7,6 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/IR/DebugInfo.h"
+#include "../lib/IR/LLVMContextImpl.h"
 #include "llvm/ADT/APSInt.h"
 #include "llvm/AsmParser/Parser.h"
 #include "llvm/IR/DIBuilder.h"
@@ -20,7 +21,6 @@
 #include "llvm/IR/Verifier.h"
 #include "llvm/Support/SourceMgr.h"
 #include "llvm/Transforms/Utils/Local.h"
-#include "../lib/IR/LLVMContextImpl.h"
 
 #include "gtest/gtest.h"
 

``````````

</details>


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


More information about the llvm-commits mailing list