Author: Elliot Goodrich Date: 2023-07-08T20:06:21+01:00 New Revision: a11efd49266f6cf2a98bdf52428b0c9423158846
URL: https://github.com/llvm/llvm-project/commit/a11efd49266f6cf2a98bdf52428b0c9423158846 DIFF: https://github.com/llvm/llvm-project/commit/a11efd49266f6cf2a98bdf52428b0c9423158846.diff LOG: Add missing StringExtras.h includes In preparation for removing the `#include "llvm/ADT/StringExtras.h"` from the header to source file of `llvm/Support/Error.h`, first add in all the missing includes that were previously included transitively through this header. This is fixing all files missed in b0abd4893fa1 and 39d8e6e22cd1. Differential Revision: https://reviews.llvm.org/D154763 Added: Modified: lldb/source/Host/common/File.cpp lldb/source/Host/common/Socket.cpp lldb/source/Host/common/XML.cpp llvm/lib/WindowsDriver/MSVCPaths.cpp openmp/libomptarget/src/omptarget.cpp Removed: ################################################################################ diff --git a/lldb/source/Host/common/File.cpp b/lldb/source/Host/common/File.cpp index 15e7a211e353e7..7c5d71d9426ead 100644 --- a/lldb/source/Host/common/File.cpp +++ b/lldb/source/Host/common/File.cpp @@ -31,6 +31,7 @@ #include "lldb/Utility/FileSpec.h" #include "lldb/Utility/Log.h" #include "lldb/Utility/VASPrintf.h" +#include "llvm/ADT/StringExtras.h" #include "llvm/Support/ConvertUTF.h" #include "llvm/Support/Errno.h" #include "llvm/Support/FileSystem.h" diff --git a/lldb/source/Host/common/Socket.cpp b/lldb/source/Host/common/Socket.cpp index c2fb5509034e5c..8ccb27fdd7f452 100644 --- a/lldb/source/Host/common/Socket.cpp +++ b/lldb/source/Host/common/Socket.cpp @@ -17,6 +17,7 @@ #include "lldb/Utility/Log.h" #include "llvm/ADT/STLExtras.h" +#include "llvm/ADT/StringExtras.h" #include "llvm/Support/Errno.h" #include "llvm/Support/Error.h" #include "llvm/Support/Regex.h" diff --git a/lldb/source/Host/common/XML.cpp b/lldb/source/Host/common/XML.cpp index bb2a72938a5e2d..f480ef3166a443 100644 --- a/lldb/source/Host/common/XML.cpp +++ b/lldb/source/Host/common/XML.cpp @@ -9,6 +9,8 @@ #include "lldb/Host/Config.h" #include "lldb/Host/XML.h" +#include "llvm/ADT/StringExtras.h" + using namespace lldb; using namespace lldb_private; diff --git a/llvm/lib/WindowsDriver/MSVCPaths.cpp b/llvm/lib/WindowsDriver/MSVCPaths.cpp index f8c4259ec8f5ed..1c070bf1bf7d7d 100644 --- a/llvm/lib/WindowsDriver/MSVCPaths.cpp +++ b/llvm/lib/WindowsDriver/MSVCPaths.cpp @@ -9,6 +9,7 @@ #include "llvm/WindowsDriver/MSVCPaths.h" #include "llvm/ADT/SmallString.h" #include "llvm/ADT/SmallVector.h" +#include "llvm/ADT/StringExtras.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/Twine.h" #include "llvm/Support/Path.h" diff --git a/openmp/libomptarget/src/omptarget.cpp b/openmp/libomptarget/src/omptarget.cpp index 9426d8a0ca76f6..45576c6cd80dc1 100644 --- a/openmp/libomptarget/src/omptarget.cpp +++ b/openmp/libomptarget/src/omptarget.cpp @@ -16,6 +16,7 @@ #include "private.h" #include "rtl.h" +#include "llvm/ADT/StringExtras.h" #include "llvm/ADT/bit.h" #include <cassert> _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits