mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 14:10:41 +00:00
add an accessor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49023 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bdbd2d710c
commit
cc56e64a59
@ -282,6 +282,9 @@ namespace sys {
|
||||
/// @returns a 'C' string containing the path name.
|
||||
/// @brief Returns the path as a C string.
|
||||
const char *c_str() const { return path.c_str(); }
|
||||
|
||||
/// size - Return the length in bytes of this path name.
|
||||
unsigned size() const { return path.size(); }
|
||||
|
||||
/// @}
|
||||
/// @name Disk Accessors
|
||||
|
Loading…
Reference in New Issue
Block a user