diff --git a/include/llvm/System/Path.h b/include/llvm/System/Path.h index 7edd5c08207..b8554c8297c 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;