[llvm-commits] [llvm] r122881 - /llvm/trunk/lib/Support/PathV2.cpp
Michael J. Spencer
bigcheesegs at gmail.com
Wed Jan 5 08:39:13 PST 2011
Author: mspencer
Date: Wed Jan 5 10:39:13 2011
New Revision: 122881
URL: http://llvm.org/viewvc/llvm-project?rev=122881&view=rev
Log:
Support/PathV2: Implement directory_entry::status.
Modified:
llvm/trunk/lib/Support/PathV2.cpp
Modified: llvm/trunk/lib/Support/PathV2.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/PathV2.cpp?rev=122881&r1=122880&r2=122881&view=diff
==============================================================================
--- llvm/trunk/lib/Support/PathV2.cpp (original)
+++ llvm/trunk/lib/Support/PathV2.cpp Wed Jan 5 10:39:13 2011
@@ -697,6 +697,10 @@
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
More information about the llvm-commits
mailing list