diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-01 19:32:01 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-12-01 19:32:01 +0000 |
commit | bee0c38f595f52d424161dc1db9c0bfe61421957 (patch) | |
tree | 7960210198d9c6a272adaba4a42cbe3cb7e6db4c /lib/Support/PathV2.cpp | |
parent | 5a7df60619d88a2c804b0dbdf68b0b502941bba3 (diff) |
Support/FileSystem: Add copy_file implementation. Not tests yet because the
file creation APIs aren't implemented.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120593 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/PathV2.cpp')
-rw-r--r-- | lib/Support/PathV2.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/Support/PathV2.cpp b/lib/Support/PathV2.cpp index a4a3f38341..dbfde54a73 100644 --- a/lib/Support/PathV2.cpp +++ b/lib/Support/PathV2.cpp @@ -12,6 +12,7 @@ //===----------------------------------------------------------------------===// #include "llvm/Support/PathV2.h" +#include "llvm/Support/FileSystem.h" #include "llvm/Support/ErrorHandling.h" #include <cctype> @@ -666,9 +667,13 @@ error_code is_relative(const Twine &path, bool &result) { return ec; } -} -} -} +} // end namespace path + +namespace fs { + +} // end namespace fs +} // end namespace sys +} // end namespace llvm // Include the truly platform-specific parts. #if defined(LLVM_ON_UNIX) |