Jeff's fix was fine
authorChris Lattner <sabre@nondot.org>
Sun, 29 Apr 2007 17:44:10 +0000 (17:44 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 29 Apr 2007 17:44:10 +0000 (17:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36563 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/System/Path.h

index 8ab0bb7aee761148e9f41f25217c4ed8ccef27a8..a595efbfed451cb74a770dd71f42d42e6f0679f7 100644 (file)
@@ -177,6 +177,8 @@ 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) {}
       
@@ -549,12 +551,6 @@ 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.