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 | 9fc1d9dcc3490b45cca703139e80cd05059c8ef2 (patch) | |
tree | 77e192ca8563c51f2617526311fad70e39438321 /llvm/lib/Support/PathV2.cpp | |
parent | 8d73cac4ba7c2e8dd3a3d4f9e68c1033f8fdd26a (diff) | |
download | bcm5719-llvm-9fc1d9dcc3490b45cca703139e80cd05059c8ef2.tar.gz bcm5719-llvm-9fc1d9dcc3490b45cca703139e80cd05059c8ef2.zip |
Support/FileSystem: Add copy_file implementation. Not tests yet because the
file creation APIs aren't implemented.
llvm-svn: 120593
Diffstat (limited to 'llvm/lib/Support/PathV2.cpp')
-rw-r--r-- | llvm/lib/Support/PathV2.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/llvm/lib/Support/PathV2.cpp b/llvm/lib/Support/PathV2.cpp index a4a3f383411..dbfde54a73a 100644 --- a/llvm/lib/Support/PathV2.cpp +++ b/llvm/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) |