summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit39027c403c50d952e4ed9800ac40cbefa68bb654 (patch)
tree23959f11f711e9ef63d43107b469351678833da9 /llvm/lib/System
parent3b9af40938733d296c1f815cfa53dfcc86d5c575 (diff)
downloadbcm5719-llvm-39027c403c50d952e4ed9800ac40cbefa68bb654.tar.gz
bcm5719-llvm-39027c403c50d952e4ed9800ac40cbefa68bb654.zip
Fix a grammaro.
llvm-svn: 99917
Diffstat (limited to 'llvm/lib/System')
-rw-r--r--llvm/lib/System/Unix/Path.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/System/Unix/Path.inc b/llvm/lib/System/Unix/Path.inc
index a99720c95de..52253b30a57 100644
--- a/llvm/lib/System/Unix/Path.inc
+++ b/llvm/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");
OpenPOWER on IntegriCloud