Author: Elliot Goodrich
Date: 2023-07-13T21:06:25+01:00
New Revision: 3ff3af3086da5df10d3991914262cef724156977

URL: 
https://github.com/llvm/llvm-project/commit/3ff3af3086da5df10d3991914262cef724156977
DIFF: 
https://github.com/llvm/llvm-project/commit/3ff3af3086da5df10d3991914262cef724156977.diff

LOG: [lldb] 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, 39d8e6e22cd1,
a11efd49266f, 5551657b310b, and 90bfe2df25e7.

Differential Revision: https://reviews.llvm.org/D155178

Added: 
    

Modified: 
    lldb/unittests/Symbol/PostfixExpressionTest.cpp
    lldb/unittests/SymbolFile/NativePDB/UdtRecordCompleterTests.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/unittests/Symbol/PostfixExpressionTest.cpp 
b/lldb/unittests/Symbol/PostfixExpressionTest.cpp
index 0eaa9d829a656f..1f9b2af4ea7a71 100644
--- a/lldb/unittests/Symbol/PostfixExpressionTest.cpp
+++ b/lldb/unittests/Symbol/PostfixExpressionTest.cpp
@@ -9,6 +9,7 @@
 #include "lldb/Symbol/PostfixExpression.h"
 #include "lldb/Utility/DataExtractor.h"
 #include "lldb/Utility/StreamString.h"
+#include "llvm/ADT/StringExtras.h"
 #include "llvm/DebugInfo/DIContext.h"
 #include "llvm/DebugInfo/DWARF/DWARFExpression.h"
 #include "llvm/Support/FormatVariadic.h"

diff  --git a/lldb/unittests/SymbolFile/NativePDB/UdtRecordCompleterTests.cpp 
b/lldb/unittests/SymbolFile/NativePDB/UdtRecordCompleterTests.cpp
index 03c5c9a3ecc8de..17284b61b9a6ee 100644
--- a/lldb/unittests/SymbolFile/NativePDB/UdtRecordCompleterTests.cpp
+++ b/lldb/unittests/SymbolFile/NativePDB/UdtRecordCompleterTests.cpp
@@ -7,6 +7,7 @@
 
//===----------------------------------------------------------------------===//
 
 #include "Plugins/SymbolFile/NativePDB/UdtRecordCompleter.h"
+#include "llvm/ADT/StringExtras.h"
 #include "gmock/gmock.h"
 #include "gtest/gtest.h"
 


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to