Skip to content

Commit a11efd4

Browse files
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 b0abd48 and 39d8e6e. Differential Revision: https://reviews.llvm.org/D154763
1 parent f69b9b7 commit a11efd4

File tree

5 files changed

+6
-0
lines changed

5 files changed

+6
-0
lines changed

lldb/source/Host/common/File.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#include "lldb/Utility/FileSpec.h"
3232
#include "lldb/Utility/Log.h"
3333
#include "lldb/Utility/VASPrintf.h"
34+
#include "llvm/ADT/StringExtras.h"
3435
#include "llvm/Support/ConvertUTF.h"
3536
#include "llvm/Support/Errno.h"
3637
#include "llvm/Support/FileSystem.h"

lldb/source/Host/common/Socket.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "lldb/Utility/Log.h"
1818

1919
#include "llvm/ADT/STLExtras.h"
20+
#include "llvm/ADT/StringExtras.h"
2021
#include "llvm/Support/Errno.h"
2122
#include "llvm/Support/Error.h"
2223
#include "llvm/Support/Regex.h"

lldb/source/Host/common/XML.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#include "lldb/Host/Config.h"
1010
#include "lldb/Host/XML.h"
1111

12+
#include "llvm/ADT/StringExtras.h"
13+
1214
using namespace lldb;
1315
using namespace lldb_private;
1416

llvm/lib/WindowsDriver/MSVCPaths.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "llvm/WindowsDriver/MSVCPaths.h"
1010
#include "llvm/ADT/SmallString.h"
1111
#include "llvm/ADT/SmallVector.h"
12+
#include "llvm/ADT/StringExtras.h"
1213
#include "llvm/ADT/StringRef.h"
1314
#include "llvm/ADT/Twine.h"
1415
#include "llvm/Support/Path.h"

openmp/libomptarget/src/omptarget.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include "private.h"
1717
#include "rtl.h"
1818

19+
#include "llvm/ADT/StringExtras.h"
1920
#include "llvm/ADT/bit.h"
2021

2122
#include <cassert>

0 commit comments

Comments
 (0)