Support/FileSystem: Add status implementation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120870 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael J. Spencer
2010-12-04 00:32:40 +00:00
parent da3aaffcbb
commit 470ae13be8
4 changed files with 87 additions and 3 deletions
+2
View File
@@ -37,6 +37,8 @@ namespace {
const char prefered_separator = '/';
#endif
const llvm::error_code success;
StringRef find_first_component(const StringRef &path) {
// Look for this first component in the following order.
// * empty (in this case we return an empty string)