[llvm-commits] [llvm] r122588 - /llvm/trunk/include/llvm/Support/PathV1.h
Michael J. Spencer
bigcheesegs at gmail.com
Mon Dec 27 17:49:10 PST 2010
Author: mspencer
Date: Mon Dec 27 19:49:10 2010
New Revision: 122588
URL: http://llvm.org/viewvc/llvm-project?rev=122588&view=rev
Log:
Fix typo.
Modified:
llvm/trunk/include/llvm/Support/PathV1.h
Modified: llvm/trunk/include/llvm/Support/PathV1.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/PathV1.h?rev=122588&r1=122587&r2=122588&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/PathV1.h (original)
+++ llvm/trunk/include/llvm/Support/PathV1.h Mon Dec 27 19:49:10 2010
@@ -21,7 +21,7 @@
#include <string>
#include <vector>
-#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 @@
/// 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 @@
/// @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 @@
/// @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 @@
/// @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 @@
/// @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 @@
/// 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 @@
/// 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 {
More information about the llvm-commits
mailing list