mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 01:34:32 +00:00
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122588 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
628467ef1f
commit
bf0184b684
@ -21,7 +21,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#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" \
|
"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 \
|
" Clang clients have been moved over to PathV2. Please use `" #replacement \
|
||||||
"` from PathV2 instead."
|
"` from PathV2 instead."
|
||||||
@ -99,7 +99,7 @@ namespace sys {
|
|||||||
/// what the root directory is or none at all. In that case, a consistent
|
/// what the root directory is or none at all. In that case, a consistent
|
||||||
/// default root directory will be used.
|
/// default root directory will be used.
|
||||||
LLVM_ATTRIBUTE_DEPRECATED(static Path GetRootDirectory(),
|
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
|
/// Construct a path to a unique temporary directory that is created in
|
||||||
/// a "standard" place for the operating system. The directory is
|
/// 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.
|
/// @brief Returns the last component of the path name.
|
||||||
LLVM_ATTRIBUTE_DEPRECATED(
|
LLVM_ATTRIBUTE_DEPRECATED(
|
||||||
StringRef getLast() const,
|
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
|
/// 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
|
/// 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
|
/// @returns StringRef containing the basename of the path
|
||||||
/// @brief Get the base name of the path
|
/// @brief Get the base name of the path
|
||||||
LLVM_ATTRIBUTE_DEPRECATED(StringRef getBasename() const,
|
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
|
/// This function strips off the suffix of the path beginning with the
|
||||||
/// path separator ('/' on Unix, '\' on Windows) and returns the result.
|
/// path separator ('/' on Unix, '\' on Windows) and returns the result.
|
||||||
LLVM_ATTRIBUTE_DEPRECATED(StringRef getDirname() const,
|
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
|
/// This function strips off the path and basename(up to and
|
||||||
/// including the last dot) of the file or directory name 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
|
/// @returns StringRef containing the suffix of the path
|
||||||
/// @brief Get the suffix of the path
|
/// @brief Get the suffix of the path
|
||||||
LLVM_ATTRIBUTE_DEPRECATED(StringRef getSuffix() const,
|
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.
|
/// Obtain a 'C' string for the path name.
|
||||||
/// @returns a 'C' string containing the path name.
|
/// @returns a 'C' string containing the path name.
|
||||||
@ -321,7 +321,7 @@ namespace sys {
|
|||||||
/// @brief Determine if the path is absolute.
|
/// @brief Determine if the path is absolute.
|
||||||
LLVM_ATTRIBUTE_DEPRECATED(
|
LLVM_ATTRIBUTE_DEPRECATED(
|
||||||
static bool isAbsolute(const char *NameStart, unsigned NameLen),
|
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
|
/// 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
|
/// 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.
|
/// current working directory if necessary.
|
||||||
LLVM_ATTRIBUTE_DEPRECATED(
|
LLVM_ATTRIBUTE_DEPRECATED(
|
||||||
void makeAbsolute(),
|
void makeAbsolute(),
|
||||||
LLVMV_PATH_DEPRECATED_MSG(fs::make_absolute));
|
LLVM_PATH_DEPRECATED_MSG(fs::make_absolute));
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
/// @name Disk Mutators
|
/// @name Disk Mutators
|
||||||
@ -629,7 +629,7 @@ namespace sys {
|
|||||||
/// efficiency. First, the file status requires additional space and the space
|
/// efficiency. First, the file status requires additional space and the space
|
||||||
/// is incorporated directly into PathWithStatus without an additional malloc.
|
/// is incorporated directly into PathWithStatus without an additional malloc.
|
||||||
/// Second, obtaining status information is an expensive operation on most
|
/// 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.
|
/// allow this operation in LLVM.
|
||||||
/// @brief Path with file status class.
|
/// @brief Path with file status class.
|
||||||
class PathWithStatus : public Path {
|
class PathWithStatus : public Path {
|
||||||
|
Loading…
Reference in New Issue
Block a user