[FileSystem] Remove Exists() from FileSpec
This patch removes the Exists method from FileSpec and updates its uses with calls to the FileSystem. Differential revision: https://reviews.llvm.org/D53845 llvm-svn: 345854
This commit is contained in:
@@ -2017,7 +2017,7 @@ ScriptInterpreterPython::ScriptedBreakpointResolverSearchDepth(
|
||||
StructuredData::ObjectSP
|
||||
ScriptInterpreterPython::LoadPluginModule(const FileSpec &file_spec,
|
||||
lldb_private::Status &error) {
|
||||
if (!file_spec.Exists()) {
|
||||
if (!FileSystem::Instance().Exists(file_spec)) {
|
||||
error.SetErrorString("no such file");
|
||||
return StructuredData::ObjectSP();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user