mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-18 18:26:44 +00:00

Introduced a new check that finds cases when an uninstantiated virtual member function in a template class causes cross-compiler incompatibility.
31 lines
509 B
CMake
31 lines
509 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
FrontendOpenMP
|
|
Support
|
|
TargetParser
|
|
)
|
|
|
|
add_clang_library(clangTidyPortabilityModule STATIC
|
|
PortabilityTidyModule.cpp
|
|
RestrictSystemIncludesCheck.cpp
|
|
SIMDIntrinsicsCheck.cpp
|
|
StdAllocatorConstCheck.cpp
|
|
TemplateVirtualMemberFunctionCheck.cpp
|
|
|
|
LINK_LIBS
|
|
clangTidy
|
|
clangTidyUtils
|
|
|
|
DEPENDS
|
|
omp_gen
|
|
ClangDriverOptions
|
|
)
|
|
|
|
clang_target_link_libraries(clangTidyPortabilityModule
|
|
PRIVATE
|
|
clangAST
|
|
clangASTMatchers
|
|
clangBasic
|
|
clangLex
|
|
clangTooling
|
|
)
|