projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2558516
)
Support/PathV2: Implement directory_entry::status.
author
Michael J. Spencer
<bigcheesegs@gmail.com>
Wed, 5 Jan 2011 16:39:13 +0000
(16:39 +0000)
committer
Michael J. Spencer
<bigcheesegs@gmail.com>
Wed, 5 Jan 2011 16:39:13 +0000
(16:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122881
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/PathV2.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/PathV2.cpp
b/lib/Support/PathV2.cpp
index d86c150c3319f5ae27200df2d27f66ef8dcf349b..481a0387786c0908be0bf850a2ddea2ac6ea701d 100644
(file)
--- a/
lib/Support/PathV2.cpp
+++ b/
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