Changes in directory llvm/include/llvm/System:
Path.h updated: 1.54 -> 1.55 --- Log message: add missing ctor --- Diffs of the changes: (+6 -2) Path.h | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) Index: llvm/include/llvm/System/Path.h diff -u llvm/include/llvm/System/Path.h:1.54 llvm/include/llvm/System/Path.h:1.55 --- llvm/include/llvm/System/Path.h:1.54 Sun Apr 29 09:43:30 2007 +++ llvm/include/llvm/System/Path.h Sun Apr 29 12:40:50 2007 @@ -177,8 +177,6 @@ /// 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 @@ 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. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits