blob: b56e1e21015db91a85e6aa8a0a51b604eb057327 [file] [log] [blame]
set(LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Core
OrcJIT
Support
TargetParser
)
add_clang_unittest(ClangReplInterpreterTests
IncrementalCompilerBuilderTest.cpp
IncrementalProcessingTest.cpp
InterpreterTest.cpp
InterpreterExtensionsTest.cpp
CodeCompletionTest.cpp
)
target_link_libraries(ClangReplInterpreterTests PUBLIC
clangAST
clangBasic
clangInterpreter
clangFrontend
clangSema
LLVMTestingSupport
)
# Exceptions on Windows are not yet supported.
if(NOT WIN32)
add_subdirectory(ExceptionTests)
endif()
export_executable_symbols(ClangReplInterpreterTests)