Fix a grammaro.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99917 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2010-03-30 20:04:57 +00:00
parent 1a5d2a8fa1
commit 4bb31bfaa3
4 changed files with 5 additions and 5 deletions

View File

@@ -454,7 +454,7 @@ Path::canWrite() const {
bool
Path::isRegularFile() const {
// Get the status so we can determine if its a file or directory
// Get the status so we can determine if it's a file or directory
struct stat buf;
if (0 != stat(path.c_str(), &buf))
@@ -736,7 +736,7 @@ Path::createTemporaryFileOnDisk(bool reuse_current, std::string* ErrMsg) {
bool
Path::eraseFromDisk(bool remove_contents, std::string *ErrStr) const {
// Get the status so we can determine if its a file or directory
// Get the status so we can determine if it's a file or directory.
struct stat buf;
if (0 != stat(path.c_str(), &buf)) {
MakeErrMsg(ErrStr, path + ": can't get status of file");