mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-03 15:36:21 +00:00
Change directory_entry::path() to return a const std::string & instead of
a StringRef, for the benefit of clients that want the result as a nul-terminated string. Clients that expect a StringRef will get one via the implicit conversion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126784 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4c078f0d6d
commit
9f0512d85f
@ -595,7 +595,7 @@ public:
|
|||||||
void replace_filename(const Twine &filename, file_status st = file_status(),
|
void replace_filename(const Twine &filename, file_status st = file_status(),
|
||||||
file_status symlink_st = file_status());
|
file_status symlink_st = file_status());
|
||||||
|
|
||||||
StringRef path() const { return Path; }
|
const std::string &path() const { return Path; }
|
||||||
error_code status(file_status &result) const;
|
error_code status(file_status &result) const;
|
||||||
error_code symlink_status(file_status &result) const;
|
error_code symlink_status(file_status &result) const;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user