mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
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:
parent
6f0ca06296
commit
a5261923b4
@ -290,6 +290,9 @@ namespace sys {
|
|||||||
/// size - Return the length in bytes of this path name.
|
/// size - Return the length in bytes of this path name.
|
||||||
unsigned size() const { return path.size(); }
|
unsigned size() const { return path.size(); }
|
||||||
|
|
||||||
|
/// empty - Returns true if the path is empty.
|
||||||
|
unsigned empty() const { return path.empty(); }
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
/// @name Disk Accessors
|
/// @name Disk Accessors
|
||||||
/// @{
|
/// @{
|
||||||
|
Loading…
Reference in New Issue
Block a user