
Default the moves and delete the copies for TempFile, matching TempDir and TempLink, and add tests for all of them to confirm that the destructor is not harmful after it has been moved from. Differential Revision: https://reviews.llvm.org/D120691
11 lines
189 B
CMake
11 lines
189 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Support
|
|
TestingSupport
|
|
)
|
|
|
|
add_llvm_unittest(TestingSupportTests
|
|
TempPathTest.cpp
|
|
)
|
|
|
|
target_link_libraries(TestingSupportTests PRIVATE LLVMTestingSupport)
|