aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/PathV2.cpp
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-12-04 00:32:40 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-12-04 00:32:40 +0000
commit470ae13be812132097cf4c17a189c47def5c19a1 (patch)
tree9108ee9f6558509578add66c44202e29237cfac6 /lib/Support/PathV2.cpp
parentda3aaffcbb202ac492e7643fc0b191eca1931ab3 (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.cpp2
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)