[Lldb-commits] [lldb] r372737 - [lldb] Also force posix paths in CppModuleConfigurationTest

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 24 05:13:35 PDT 2019


Author: teemperor
Date: Tue Sep 24 05:13:35 2019
New Revision: 372737

URL: http://llvm.org/viewvc/llvm-project?rev=372737&view=rev
Log:
[lldb] Also force posix paths in CppModuleConfigurationTest

Modified:
    lldb/trunk/unittests/Expression/CppModuleConfigurationTest.cpp

Modified: lldb/trunk/unittests/Expression/CppModuleConfigurationTest.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/Expression/CppModuleConfigurationTest.cpp?rev=372737&r1=372736&r2=372737&view=diff
==============================================================================
--- lldb/trunk/unittests/Expression/CppModuleConfigurationTest.cpp (original)
+++ lldb/trunk/unittests/Expression/CppModuleConfigurationTest.cpp Tue Sep 24 05:13:35 2019
@@ -43,7 +43,7 @@ static std::string ResourceInc() {
 static FileSpecList makeFiles(llvm::ArrayRef<std::string> paths) {
   FileSpecList result;
   for (const std::string &path : paths)
-    result.Append(FileSpec(path));
+    result.Append(FileSpec(path, FileSpec::Style::posix));
   return result;
 }
 




More information about the lldb-commits mailing list