[Lldb-commits] [lldb] [lldb] refactor PlatformAndroid and make threadsafe (PR #145382)

Chad Smith via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 8 12:22:56 PDT 2025


================
@@ -8,61 +8,48 @@
 
 #include "AdbClient.h"
 
-#include "llvm/ADT/STLExtras.h"
-#include "llvm/ADT/SmallVector.h"
-#include "llvm/ADT/StringRef.h"
-#include "llvm/Support/FileUtilities.h"
-
-#include "lldb/Host/ConnectionFileDescriptor.h"
 #include "lldb/Host/FileSystem.h"
-#include "lldb/Host/PosixApi.h"
-#include "lldb/Utility/DataBuffer.h"
-#include "lldb/Utility/DataBufferHeap.h"
+#include "lldb/Host/posix/ConnectionFileDescriptorPosix.h"
----------------
cs01 wrote:

Ok I will use it. FYI clangd gives me a warning when I use `lldb/Host/ConnectionFileDescriptor.h`:

> Included header ConnectionFileDescriptor.h is not used directly (fix available)clangd[unused-includes](https://clangd.llvm.org/guides/include-cleaner)

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


More information about the lldb-commits mailing list