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 | db5576a18525d35bea59875a1b5c5f00ff07cae8 (patch) | |
| tree | 42979b0a6758607026c71b945a90cd71c0ecb5cd /llvm/lib/Support/PathV2.cpp | |
| parent | 32a15547da68aeca2b9af9c13d35ad982bebe408 (diff) | |
| download | llvm-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.cpp | 2 |
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) |
