aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/System/Path.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/System/Path.h b/include/llvm/System/Path.h
index 7edd5c0..b8554c8 100644
--- a/include/llvm/System/Path.h
+++ b/include/llvm/System/Path.h
@@ -380,9 +380,9 @@ namespace sys {
/// in the file system.
bool canWrite() const;
- /// This function checks that what we're trying to work only on a regular file
- /// or directory. Check for things like /dev/null, any block special file,
- /// or other things that aren't "regular" regular files or directories.
+ /// This function checks that what we're trying to work only on a regular file.
+ /// Check for things like /dev/null, any block special file,
+ /// or other things that aren't "regular" regular files.
/// @returns true if the file is S_ISREG.
/// @brief Determines if the file is a regular file
bool isRegularFile() const;