diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-04 00:32:40 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-04 00:32:40 +0000 |
commit | 470ae13be812132097cf4c17a189c47def5c19a1 (patch) | |
tree | 9108ee9f6558509578add66c44202e29237cfac6 /lib/Support/PathV2.cpp | |
parent | da3aaffcbb202ac492e7643fc0b191eca1931ab3 (diff) |
Support/FileSystem: Add status implementation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120870 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/PathV2.cpp')
-rw-r--r-- | lib/Support/PathV2.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/PathV2.cpp b/lib/Support/PathV2.cpp index 7d4d6d1fc2..829e107b2d 100644 --- a/lib/Support/PathV2.cpp +++ b/lib/Support/PathV2.cpp @@ -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) |