summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2011-01-05 16:39:13 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2011-01-05 16:39:13 +0000
commitf8dc1868e294649ff1f2c7cf562b31b18c54e65c (patch)
treea94746dbfab1812c99202a2dea008680a30dc571 /llvm/lib/Support
parent346a13381a3d7bd748f25ce7ba8d4aa5876fdfff (diff)
downloadbcm5719-llvm-f8dc1868e294649ff1f2c7cf562b31b18c54e65c.tar.gz
bcm5719-llvm-f8dc1868e294649ff1f2c7cf562b31b18c54e65c.zip
Support/PathV2: Implement directory_entry::status.
llvm-svn: 122881
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/PathV2.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Support/PathV2.cpp b/llvm/lib/Support/PathV2.cpp
index d86c150c331..481a0387786 100644
--- a/llvm/lib/Support/PathV2.cpp
+++ b/llvm/lib/Support/PathV2.cpp
@@ -697,6 +697,10 @@ error_code has_magic(const Twine &path, const Twine &magic, bool &result) {
return success;
}
+error_code directory_entry::status(file_status &result) const {
+ return fs::status(Path, result);
+}
+
} // end namespace fs
} // end namespace sys
} // end namespace llvm
OpenPOWER on IntegriCloud