add an accessor.

llvm-svn: 49023
This commit is contained in:
Chris Lattner 2008-04-01 03:20:31 +00:00
parent 62385ba3a0
commit 5a7d4e4f6d
1 changed files with 3 additions and 0 deletions

View File

@ -283,6 +283,9 @@ namespace sys {
/// @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
/// @{