From bf0184b6841a729bd09efff59fc4906e091024ec Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Tue, 28 Dec 2010 01:49:10 +0000 Subject: [PATCH] Fix typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122588 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/PathV1.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h index fdf9084b5b3..1fec1e56c83 100644 --- a/include/llvm/Support/PathV1.h +++ b/include/llvm/Support/PathV1.h @@ -21,7 +21,7 @@ #include #include -#define LLVMV_PATH_DEPRECATED_MSG(replacement) \ +#define LLVM_PATH_DEPRECATED_MSG(replacement) \ "PathV1 has been deprecated and will be removed as soon as all LLVM and" \ " Clang clients have been moved over to PathV2. Please use `" #replacement \ "` from PathV2 instead." @@ -99,7 +99,7 @@ namespace sys { /// what the root directory is or none at all. In that case, a consistent /// default root directory will be used. LLVM_ATTRIBUTE_DEPRECATED(static Path GetRootDirectory(), - LLVMV_PATH_DEPRECATED_MSG(NOTHING)); + LLVM_PATH_DEPRECATED_MSG(NOTHING)); /// Construct a path to a unique temporary directory that is created in /// a "standard" place for the operating system. The directory is @@ -268,7 +268,7 @@ namespace sys { /// @brief Returns the last component of the path name. LLVM_ATTRIBUTE_DEPRECATED( StringRef getLast() const, - LLVMV_PATH_DEPRECATED_MSG(path::filename)); + LLVM_PATH_DEPRECATED_MSG(path::filename)); /// This function strips off the path and suffix of the file or directory /// name and returns just the basename. For example /a/foo.bar would cause @@ -276,12 +276,12 @@ namespace sys { /// @returns StringRef containing the basename of the path /// @brief Get the base name of the path LLVM_ATTRIBUTE_DEPRECATED(StringRef getBasename() const, - LLVMV_PATH_DEPRECATED_MSG(path::stem)); + LLVM_PATH_DEPRECATED_MSG(path::stem)); /// This function strips off the suffix of the path beginning with the /// path separator ('/' on Unix, '\' on Windows) and returns the result. LLVM_ATTRIBUTE_DEPRECATED(StringRef getDirname() const, - LLVMV_PATH_DEPRECATED_MSG(path::parent_path)); + LLVM_PATH_DEPRECATED_MSG(path::parent_path)); /// This function strips off the path and basename(up to and /// including the last dot) of the file or directory name and @@ -290,7 +290,7 @@ namespace sys { /// @returns StringRef containing the suffix of the path /// @brief Get the suffix of the path LLVM_ATTRIBUTE_DEPRECATED(StringRef getSuffix() const, - LLVMV_PATH_DEPRECATED_MSG(path::extension)); + LLVM_PATH_DEPRECATED_MSG(path::extension)); /// Obtain a 'C' string for the path name. /// @returns a 'C' string containing the path name. @@ -321,7 +321,7 @@ namespace sys { /// @brief Determine if the path is absolute. LLVM_ATTRIBUTE_DEPRECATED( static bool isAbsolute(const char *NameStart, unsigned NameLen), - LLVMV_PATH_DEPRECATED_MSG(path::is_absolute)); + LLVM_PATH_DEPRECATED_MSG(path::is_absolute)); /// This function opens the file associated with the path name provided by /// the Path object and reads its magic number. If the magic number at the @@ -497,7 +497,7 @@ namespace sys { /// current working directory if necessary. LLVM_ATTRIBUTE_DEPRECATED( void makeAbsolute(), - LLVMV_PATH_DEPRECATED_MSG(fs::make_absolute)); + LLVM_PATH_DEPRECATED_MSG(fs::make_absolute)); /// @} /// @name Disk Mutators @@ -629,7 +629,7 @@ namespace sys { /// efficiency. First, the file status requires additional space and the space /// is incorporated directly into PathWithStatus without an additional malloc. /// Second, obtaining status information is an expensive operation on most - /// operating systems so we want to be careful and explicity about where we + /// operating systems so we want to be careful and explicit about where we /// allow this operation in LLVM. /// @brief Path with file status class. class PathWithStatus : public Path {