[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:
@@ -51,7 +51,7 @@ bool SBFileSpec::IsValid() const { return m_opaque_ap->operator bool(); }
|
||||
bool SBFileSpec::Exists() const {
|
||||
Log *log(lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_API));
|
||||
|
||||
bool result = m_opaque_ap->Exists();
|
||||
bool result = FileSystem::Instance().Exists(*m_opaque_ap);
|
||||
|
||||
if (log)
|
||||
log->Printf("SBFileSpec(%p)::Exists () => %s",
|
||||
|
||||
Reference in New Issue
Block a user