summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-29 17:40:50 +0000
committerChris Lattner <sabre@nondot.org>2007-04-29 17:40:50 +0000
commit8f73e83c490832a65d1d0afa24f3beedc54c99c3 (patch)
treef7d663cec3db5b40492880164e86c27900b0cee7
parent990a58f2422cdf569cb08bec789846605ce4a828 (diff)
downloadbcm5719-llvm-8f73e83c490832a65d1d0afa24f3beedc54c99c3.tar.gz
bcm5719-llvm-8f73e83c490832a65d1d0afa24f3beedc54c99c3.zip
add missing ctor
llvm-svn: 36562
-rw-r--r--llvm/include/llvm/System/Path.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/llvm/include/llvm/System/Path.h b/llvm/include/llvm/System/Path.h
index a595efbfed4..8ab0bb7aee7 100644
--- a/llvm/include/llvm/System/Path.h
+++ b/llvm/include/llvm/System/Path.h
@@ -177,8 +177,6 @@ namespace sys {
/// 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.
- /// @param p The path to assign.
- /// @brief Construct a Path from a string.
explicit Path(const char *StrStart, unsigned StrLen)
: path(StrStart, StrStart+StrLen) {}
@@ -551,6 +549,12 @@ namespace sys {
PathWithStatus(const Path &other)
: 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
/// done on this path to determine if it is valid. To determine validity
/// of the path, use the isValid method.
OpenPOWER on IntegriCloud