[llvm] [llvm-dis] Fix non-deterministic disassembly across multiple inputs (PR #110988)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 3 05:22:40 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 44df106cb182d2316b4b0b8596d3745f62c17ba6 ae7a499992685b54109eddb48999600995f4394d --extensions cpp -- llvm/tools/llvm-dis/llvm-dis.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/tools/llvm-dis/llvm-dis.cpp b/llvm/tools/llvm-dis/llvm-dis.cpp
index a301d56511..48c8615e76 100644
--- a/llvm/tools/llvm-dis/llvm-dis.cpp
+++ b/llvm/tools/llvm-dis/llvm-dis.cpp
@@ -199,7 +199,6 @@ int main(int argc, char **argv) {
     return 1;
   }
 
-
   for (const auto &InputFilename : InputFilenames) {
     // Use a fresh context is used for each input to avoid issues of
     // state cross-contamination (e.g. type name maps).

``````````

</details>


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


More information about the llvm-commits mailing list