[Lldb-commits] [lldb] r366161 - [Target] Remove unused method Target::GetDefaultClangModuleSearchPaths

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 15 18:02:33 PDT 2019


Author: xiaobai
Date: Mon Jul 15 18:02:32 2019
New Revision: 366161

URL: http://llvm.org/viewvc/llvm-project?rev=366161&view=rev
Log:
[Target] Remove unused method Target::GetDefaultClangModuleSearchPaths

Modified:
    lldb/trunk/include/lldb/Target/Target.h
    lldb/trunk/source/Target/Target.cpp

Modified: lldb/trunk/include/lldb/Target/Target.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/Target/Target.h?rev=366161&r1=366160&r2=366161&view=diff
==============================================================================
--- lldb/trunk/include/lldb/Target/Target.h (original)
+++ lldb/trunk/include/lldb/Target/Target.h Mon Jul 15 18:02:32 2019
@@ -491,8 +491,6 @@ public:
 
   static FileSpecList GetDefaultDebugFileSearchPaths();
 
-  static FileSpecList GetDefaultClangModuleSearchPaths();
-
   static ArchSpec GetDefaultArchitecture();
 
   static void SetDefaultArchitecture(const ArchSpec &arch);

Modified: lldb/trunk/source/Target/Target.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Target.cpp?rev=366161&r1=366160&r2=366161&view=diff
==============================================================================
--- lldb/trunk/source/Target/Target.cpp (original)
+++ lldb/trunk/source/Target/Target.cpp Mon Jul 15 18:02:32 2019
@@ -2330,13 +2330,6 @@ FileSpecList Target::GetDefaultDebugFile
   return FileSpecList();
 }
 
-FileSpecList Target::GetDefaultClangModuleSearchPaths() {
-  TargetPropertiesSP properties_sp(Target::GetGlobalProperties());
-  if (properties_sp)
-    return properties_sp->GetClangModuleSearchPaths();
-  return FileSpecList();
-}
-
 ArchSpec Target::GetDefaultArchitecture() {
   TargetPropertiesSP properties_sp(Target::GetGlobalProperties());
   if (properties_sp)




More information about the lldb-commits mailing list