aboutsummaryrefslogtreecommitdiff
path: root/llvm/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
commitdb5576a18525d35bea59875a1b5c5f00ff07cae8 (patch)
tree42979b0a6758607026c71b945a90cd71c0ecb5cd /llvm/lib/Support/PathV2.cpp
parent32a15547da68aeca2b9af9c13d35ad982bebe408 (diff)
downloadllvm-db5576a18525d35bea59875a1b5c5f00ff07cae8.zip
llvm-db5576a18525d35bea59875a1b5c5f00ff07cae8.tar.gz
llvm-db5576a18525d35bea59875a1b5c5f00ff07cae8.tar.bz2
Support/FileSystem: Add status implementation.
llvm-svn: 120870
Diffstat (limited to 'llvm/lib/Support/PathV2.cpp')
-rw-r--r--llvm/lib/Support/PathV2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Support/PathV2.cpp b/llvm/lib/Support/PathV2.cpp
index 7d4d6d1..829e107 100644
--- a/llvm/lib/Support/PathV2.cpp
+++ b/llvm/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)