[llvm-commits] CVS: llvm/include/llvm/System/Path.h

Reid Spencer reid at x10sys.com
Wed Aug 23 10:43:34 PDT 2006



Changes in directory llvm/include/llvm/System:

Path.h updated: 1.40 -> 1.41
---
Log message:


---
Diffs of the changes:  (+4 -7)

 Path.h |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)


Index: llvm/include/llvm/System/Path.h
diff -u llvm/include/llvm/System/Path.h:1.40 llvm/include/llvm/System/Path.h:1.41
--- llvm/include/llvm/System/Path.h:1.40	Wed Aug 23 02:30:48 2006
+++ llvm/include/llvm/System/Path.h	Wed Aug 23 12:43:20 2006
@@ -164,13 +164,10 @@
       /// @brief Construct an empty (and invalid) path.
       Path() : path() {}
 
-      /// This constructor will accept a std::string as a path but it verifies
-      /// that the path string has a legal syntax for the operating system on
-      /// which it is running. This allows a path to be taken in from outside
-      /// the program. However, if the path is not valid, the Path object will
-      /// be set to an empty string and an exception will be thrown.
-      /// @throws std::string if \p unverified_path is not legal.
-      /// @param unverified_path The path to verify and assign.
+      /// 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. 
+      /// @param p The path to assign.
       /// @brief Construct a Path from a string.
       explicit Path(const std::string& p) : path(p) {}
 






More information about the llvm-commits mailing list