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