llvm.org GIT mirror llvm / 9728905
add missing ctor git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36562 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 6 addition(s) and 2 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.
181179 explicit Path(const char *StrStart, unsigned StrLen)
182180 : path(StrStart, StrStart+StrLen) {}
183181
550548 PathWithStatus(const Path &other)
551549 : Path(other), status(), fsIsValid(false) {}
552550
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
553557 /// This constructor will accept a std::string as a path. No checking is
554558 /// done on this path to determine if it is valid. To determine validity
555559 /// of the path, use the isValid method.