mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-25 14:28:54 -04:00

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 llvm-svn: 344140
20 lines
292 B
CMake
20 lines
292 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Support
|
|
)
|
|
|
|
add_clang_unittest(BasicTests
|
|
CharInfoTest.cpp
|
|
DiagnosticTest.cpp
|
|
FileManagerTest.cpp
|
|
FixedPointTest.cpp
|
|
MemoryBufferCacheTest.cpp
|
|
SourceManagerTest.cpp
|
|
)
|
|
|
|
target_link_libraries(BasicTests
|
|
PRIVATE
|
|
clangAST
|
|
clangBasic
|
|
clangLex
|
|
)
|