[Lldb-commits] [lldb] c5c2570 - [lldb] Include bit.h instead of SwapByteOrder.h (NFC) (#151903)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 4 07:40:34 PDT 2025
Author: Kazu Hirata
Date: 2025-08-04T07:40:28-07:00
New Revision: c5c2570d09de1a78f45a3a03a3167c35b05eae6e
URL: https://github.com/llvm/llvm-project/commit/c5c2570d09de1a78f45a3a03a3167c35b05eae6e
DIFF: https://github.com/llvm/llvm-project/commit/c5c2570d09de1a78f45a3a03a3167c35b05eae6e.diff
LOG: [lldb] Include bit.h instead of SwapByteOrder.h (NFC) (#151903)
We use llvm::byteswap from bit.h, but we don't use any feature from
SwapByteOrder.h.
Added:
Modified:
lldb/include/lldb/Core/Opcode.h
Removed:
################################################################################
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>
More information about the lldb-commits
mailing list