diff options
Diffstat (limited to 'contrib/llvm-project/lldb/include/lldb/Utility/FileSpec.h')
-rw-r--r-- | contrib/llvm-project/lldb/include/lldb/Utility/FileSpec.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/contrib/llvm-project/lldb/include/lldb/Utility/FileSpec.h b/contrib/llvm-project/lldb/include/lldb/Utility/FileSpec.h index ccd25a81c11f..e4276e8398b4 100644 --- a/contrib/llvm-project/lldb/include/lldb/Utility/FileSpec.h +++ b/contrib/llvm-project/lldb/include/lldb/Utility/FileSpec.h @@ -386,21 +386,6 @@ public: /// The triple which is used to set the Path style. void SetFile(llvm::StringRef path, const llvm::Triple &triple); - bool IsResolved() const { return m_is_resolved; } - - /// Set if the file path has been resolved or not. - /// - /// If you know a file path is already resolved and avoided passing a \b - /// true parameter for any functions that take a "bool resolve_path" - /// parameter, you can set the value manually using this call to make sure - /// we don't try and resolve it later, or try and resolve a path that has - /// already been resolved. - /// - /// \param[in] is_resolved - /// A boolean value that will replace the current value that - /// indicates if the paths in this object have been resolved. - void SetIsResolved(bool is_resolved) { m_is_resolved = is_resolved; } - FileSpec CopyByAppendingPathComponent(llvm::StringRef component) const; FileSpec CopyByRemovingLastPathComponent() const; @@ -440,7 +425,6 @@ protected: /// state in this object. void PathWasModified() { m_checksum = Checksum(); - m_is_resolved = false; m_absolute = Absolute::Calculate; } @@ -459,9 +443,6 @@ protected: /// The optional MD5 checksum of the file. Checksum m_checksum; - /// True if this path has been resolved. - mutable bool m_is_resolved = false; - /// Cache whether this path is absolute. mutable Absolute m_absolute = Absolute::Calculate; |