Add "empty()" method to sys::Path and remove unnecessary whitespace.

Patch by Mikhail Glushenkov!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49803 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2008-04-16 18:27:02 +00:00
parent 6f0ca06296
commit a5261923b4

View File

@ -290,6 +290,9 @@ namespace sys {
/// size - Return the length in bytes of this path name.
unsigned size() const { return path.size(); }
/// empty - Returns true if the path is empty.
unsigned empty() const { return path.empty(); }
/// @}
/// @name Disk Accessors
/// @{