diff --git a/llvm/include/llvm/System/Path.h b/llvm/include/llvm/System/Path.h index 19684d342679..04dba1db3e25 100644 --- a/llvm/include/llvm/System/Path.h +++ b/llvm/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 Dir. + /// 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" files. + /// or other things that aren't "regular" regular files or directories. bool isSpecialFile() const; /// This function determines if the path name references an executable