Fix spelling.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Mon, 20 Dec 2010 13:30:37 +0000 (13:30 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Mon, 20 Dec 2010 13:30:37 +0000 (13:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122244 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/PathV1.h

index aceb5725294c8692a5dffe816ea8474e8fff390c..5026f2cd12d04d9be5707753961392ea28e1b111 100644 (file)
@@ -106,7 +106,7 @@ namespace sys {
       /// cannot be created, the function will throw an exception.
       /// @returns an invalid path (empty) on error
       /// @param ErrMsg Optional place for an error message if an error occurs
-      /// @brief Constrct a path to an new, unique, existing temporary
+      /// @brief Construct a path to an new, unique, existing temporary
       /// directory.
       static Path GetTemporaryDirectory(std::string* ErrMsg = 0);
 
@@ -260,7 +260,7 @@ namespace sys {
       bool isEmpty() const { return path.empty(); }
 
        /// This function returns the last component of the path name. The last
-      /// component is the file or directory name occuring after the last
+      /// component is the file or directory name occurring after the last
       /// directory separator. If no directory separator is present, the entire
       /// path name is returned (i.e. same as toString).
       /// @returns StringRef containing the last component of the path name.