summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-12-07 18:12:07 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-12-07 18:12:07 +0000
commit12ccf67457cddc7841bd23bae342994a21d25eb0 (patch)
treec4653171b08741f2757e6305c10fac54772ec50e /include
parent6511988cd477db280c7e1057af81025a40039811 (diff)
Support/PathV2: Remove const from bool return types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121157 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/PathV2.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/llvm/Support/PathV2.h b/include/llvm/Support/PathV2.h
index 82d31132bf0..acb66d772af 100644
--- a/include/llvm/Support/PathV2.h
+++ b/include/llvm/Support/PathV2.h
@@ -264,7 +264,7 @@ const StringRef extension(const StringRef &path);
///
/// @param path Input path.
/// @result True if the path has a root name, false otherwise.
-const bool has_root_name(const Twine &path);
+bool has_root_name(const Twine &path);
/// @brief Has root directory?
///
@@ -272,7 +272,7 @@ const bool has_root_name(const Twine &path);
///
/// @param path Input path.
/// @result True if the path has a root directory, false otherwise.
-const bool has_root_directory(const Twine &path);
+bool has_root_directory(const Twine &path);
/// @brief Has root path?
///
@@ -280,7 +280,7 @@ const bool has_root_directory(const Twine &path);
///
/// @param path Input path.
/// @result True if the path has a root path, false otherwise.
-const bool has_root_path(const Twine &path);
+bool has_root_path(const Twine &path);
/// @brief Has relative path?
///
@@ -288,7 +288,7 @@ const bool has_root_path(const Twine &path);
///
/// @param path Input path.
/// @result True if the path has a relative path, false otherwise.
-const bool has_relative_path(const Twine &path);
+bool has_relative_path(const Twine &path);
/// @brief Has parent path?
///
@@ -296,7 +296,7 @@ const bool has_relative_path(const Twine &path);
///
/// @param path Input path.
/// @result True if the path has a parent path, false otherwise.
-const bool has_parent_path(const Twine &path);
+bool has_parent_path(const Twine &path);
/// @brief Has filename?
///
@@ -304,7 +304,7 @@ const bool has_parent_path(const Twine &path);
///
/// @param path Input path.
/// @result True if the path has a filename, false otherwise.
-const bool has_filename(const Twine &path);
+bool has_filename(const Twine &path);
/// @brief Has stem?
///
@@ -312,7 +312,7 @@ const bool has_filename(const Twine &path);
///
/// @param path Input path.
/// @result True if the path has a stem, false otherwise.
-const bool has_stem(const Twine &path);
+bool has_stem(const Twine &path);
/// @brief Has extension?
///
@@ -320,19 +320,19 @@ const bool has_stem(const Twine &path);
///
/// @param path Input path.
/// @result True if the path has a extension, false otherwise.
-const bool has_extension(const Twine &path);
+bool has_extension(const Twine &path);
/// @brief Is path absolute?
///
/// @param path Input path.
/// @result True if the path is absolute, false if it is not.
-const bool is_absolute(const Twine &path);
+bool is_absolute(const Twine &path);
/// @brief Is path relative?
///
/// @param path Input path.
/// @result True if the path is relative, false if it is not.
-const bool is_relative(const Twine &path);
+bool is_relative(const Twine &path);
} // end namespace path
} // end namespace sys