From db5576a18525d35bea59875a1b5c5f00ff07cae8 Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Sat, 4 Dec 2010 00:32:40 +0000 Subject: Support/FileSystem: Add status implementation. llvm-svn: 120870 --- llvm/lib/Support/PathV2.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/Support/PathV2.cpp') diff --git a/llvm/lib/Support/PathV2.cpp b/llvm/lib/Support/PathV2.cpp index 7d4d6d1fc28..829e107b2d5 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) -- cgit v1.2.3