forked from OSchip/llvm-project
parent
990a58f242
commit
8f73e83c49
|
@ -177,8 +177,6 @@ namespace sys {
|
||||||
/// This constructor will accept a character range as a path. No checking
|
/// This constructor will accept a character range as a path. No checking
|
||||||
/// is done on this path to determine if it is valid. To determine
|
/// is done on this path to determine if it is valid. To determine
|
||||||
/// validity of the path, use the isValid method.
|
/// validity of the path, use the isValid method.
|
||||||
/// @param p The path to assign.
|
|
||||||
/// @brief Construct a Path from a string.
|
|
||||||
explicit Path(const char *StrStart, unsigned StrLen)
|
explicit Path(const char *StrStart, unsigned StrLen)
|
||||||
: path(StrStart, StrStart+StrLen) {}
|
: path(StrStart, StrStart+StrLen) {}
|
||||||
|
|
||||||
|
@ -551,6 +549,12 @@ namespace sys {
|
||||||
PathWithStatus(const Path &other)
|
PathWithStatus(const Path &other)
|
||||||
: Path(other), status(), fsIsValid(false) {}
|
: Path(other), status(), fsIsValid(false) {}
|
||||||
|
|
||||||
|
/// This constructor will accept a character range as a path. No checking
|
||||||
|
/// is done on this path to determine if it is valid. To determine
|
||||||
|
/// validity of the path, use the isValid method.
|
||||||
|
PathWithStatus(const char *StrStart, unsigned StrLen)
|
||||||
|
: Path(StrStart, StrLen), fsIsValid(false) {}
|
||||||
|
|
||||||
/// This constructor will accept a std::string as a path. No checking is
|
/// This constructor will accept a std::string as a path. No checking is
|
||||||
/// done on this path to determine if it is valid. To determine validity
|
/// done on this path to determine if it is valid. To determine validity
|
||||||
/// of the path, use the isValid method.
|
/// of the path, use the isValid method.
|
||||||
|
|
Loading…
Reference in New Issue