summaryrefslogtreecommitdiffstats
path: root/lib/System
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-03-30 20:04:57 +0000
committerDan Gohman <gohman@apple.com>2010-03-30 20:04:57 +0000
commit4bb31bfaa3ed2495dd99304316344dbe54f1d756 (patch)
tree2391b28590f083286c32aff4e3711d630be4c69d /lib/System
parent1a5d2a8fa116c123bec6b0197c2d894e91f1f94b (diff)
downloadexternal_llvm-4bb31bfaa3ed2495dd99304316344dbe54f1d756.zip
external_llvm-4bb31bfaa3ed2495dd99304316344dbe54f1d756.tar.gz
external_llvm-4bb31bfaa3ed2495dd99304316344dbe54f1d756.tar.bz2
Fix a grammaro.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99917 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System')
-rw-r--r--lib/System/Unix/Path.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/System/Unix/Path.inc b/lib/System/Unix/Path.inc
index a99720c..52253b3 100644
--- a/lib/System/Unix/Path.inc
+++ b/lib/System/Unix/Path.inc
@@ -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");