Duncan P. N. Exon Smith 15ab7bc3af Testing: Make TempFile safe to move; test Temp{Dir,File,Link}
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
2022-03-01 13:45:51 -08:00

11 lines
189 B
CMake

set(LLVM_LINK_COMPONENTS
Support
TestingSupport
)
add_llvm_unittest(TestingSupportTests
TempPathTest.cpp
)
target_link_libraries(TestingSupportTests PRIVATE LLVMTestingSupport)