Fix constructor documentation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29845 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2006-08-23 17:43:20 +00:00
parent ca64012ac6
commit cc2e0845c3

View File

@ -164,13 +164,10 @@ namespace sys {
/// @brief Construct an empty (and invalid) path. /// @brief Construct an empty (and invalid) path.
Path() : path() {} Path() : path() {}
/// This constructor will accept a std::string as a path but it verifies /// This constructor will accept a std::string as a path. No checking is
/// that the path string has a legal syntax for the operating system on /// done on this path to determine if it is valid. To determine validity
/// which it is running. This allows a path to be taken in from outside /// of the path, use the isValid method.
/// the program. However, if the path is not valid, the Path object will /// @param p The path to assign.
/// 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.
/// @brief Construct a Path from a string. /// @brief Construct a Path from a string.
explicit Path(const std::string& p) : path(p) {} explicit Path(const std::string& p) : path(p) {}