f9d558c871
This reverts commit 97aa593a83
as it
causes problems (PR45453) https://reviews.llvm.org/D77574#1966321.
This additionally adds an explicit reference to FrontendOpenMP to
clang-tidy where ASTMatchers is used.
This is hopefully just a temporary solution. The dependence on
`FrontendOpenMP` from `ASTMatchers` should be handled by CMake
implicitly, not us explicitly.
Reviewed By: aheejin
Differential Revision: https://reviews.llvm.org/D77666
19 lines
272 B
CMake
19 lines
272 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
FrontendOpenMP
|
|
Support
|
|
)
|
|
|
|
add_clang_executable(tool-template
|
|
ToolTemplate.cpp
|
|
)
|
|
|
|
clang_target_link_libraries(tool-template
|
|
PRIVATE
|
|
clangAST
|
|
clangASTMatchers
|
|
clangBasic
|
|
clangFrontend
|
|
clangTooling
|
|
clangToolingRefactoring
|
|
)
|