-
- Downloads
Lift VFS from clang to llvm (NFC)
This patch moves the virtual file system form clang to llvm so it can be used by more projects. Concretely the patch: - Moves VirtualFileSystem.{h|cpp} from clang/Basic to llvm/Support. - Moves the corresponding unit test from clang to llvm. - Moves the vfs namespace from clang::vfs to llvm::vfs. - Formats the lines affected by this change, mostly this is the result of the added llvm namespace. RFC on the mailing list: http://lists.llvm.org/pipermail/llvm-dev/2018-October/126657.html Differential revision: https://reviews.llvm.org/D52783 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344140 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/llvm/Support/VirtualFileSystem.h 522 additions, 0 deletionsinclude/llvm/Support/VirtualFileSystem.h
- lib/Support/CMakeLists.txt 1 addition, 0 deletionslib/Support/CMakeLists.txt
- lib/Support/VirtualFileSystem.cpp 2121 additions, 0 deletionslib/Support/VirtualFileSystem.cpp
- unittests/Support/CMakeLists.txt 1 addition, 0 deletionsunittests/Support/CMakeLists.txt
- unittests/Support/VirtualFileSystemTest.cpp 1601 additions, 0 deletionsunittests/Support/VirtualFileSystemTest.cpp
include/llvm/Support/VirtualFileSystem.h
0 → 100644
lib/Support/VirtualFileSystem.cpp
0 → 100644
This diff is collapsed.
unittests/Support/VirtualFileSystemTest.cpp
0 → 100644
This diff is collapsed.
Please register or sign in to comment