llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Kazu Hirata (kazutakahirata)

<details>
<summary>Changes</summary>

We use llvm::byteswap from bit.h, but we don't use any feature from
SwapByteOrder.h.


---
Full diff: https://github.com/llvm/llvm-project/pull/151903.diff


1 Files Affected:

- (modified) lldb/include/lldb/Core/Opcode.h (+1-1) 


``````````diff
diff --git a/lldb/include/lldb/Core/Opcode.h b/lldb/include/lldb/Core/Opcode.h
index 91af15c62e6ab..f680e0b91ab85 100644
--- a/lldb/include/lldb/Core/Opcode.h
+++ b/lldb/include/lldb/Core/Opcode.h
@@ -12,7 +12,7 @@
 #include "lldb/Utility/Endian.h"
 #include "lldb/lldb-enumerations.h"
 
-#include "llvm/Support/SwapByteOrder.h"
+#include "llvm/ADT/bit.h"
 
 #include <cassert>
 #include <cstdint>

``````````

</details>


https://github.com/llvm/llvm-project/pull/151903
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to