llvm.org GIT mirror llvm / ee181bc
Jeff's fix was fine git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36563 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 2 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
176176 /// This constructor will accept a character range as a path. No checking
177177 /// is done on this path to determine if it is valid. To determine
178178 /// validity of the path, use the isValid method.
179 /// @param p The path to assign.
180 /// @brief Construct a Path from a string.
179181 explicit Path(const char *StrStart, unsigned StrLen)
180182 : path(StrStart, StrStart+StrLen) {}
181183
548550 PathWithStatus(const Path &other)
549551 : Path(other), status(), fsIsValid(false) {}
550552
551 /// This constructor will accept a character range as a path. No checking
552 /// is done on this path to determine if it is valid. To determine
553 /// validity of the path, use the isValid method.
554 PathWithStatus(const char *StrStart, unsigned StrLen)
555 : Path(StrStart, StrLen), fsIsValid(false) {}
556
557553 /// This constructor will accept a std::string as a path. No checking is
558554 /// done on this path to determine if it is valid. To determine validity
559555 /// of the path, use the isValid method.