mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 11:35:51 -04:00

This checks finds all primitive type local variables (integers, doubles, pointers) that are declared without an initial value. Includes fixit functionality to initialize said variables with a default value. This is zero for most types and NaN for floating point types. The use of NaNs is copied from the D programming language. Patch by Jussi Pakkanen. llvm-svn: 373489
38 lines
892 B
CMake
38 lines
892 B
CMake
set(LLVM_LINK_COMPONENTS support)
|
|
|
|
add_clang_library(clangTidyCppCoreGuidelinesModule
|
|
AvoidGotoCheck.cpp
|
|
CppCoreGuidelinesTidyModule.cpp
|
|
InitVariablesCheck.cpp
|
|
InterfacesGlobalInitCheck.cpp
|
|
MacroUsageCheck.cpp
|
|
NarrowingConversionsCheck.cpp
|
|
NoMallocCheck.cpp
|
|
OwningMemoryCheck.cpp
|
|
ProBoundsArrayToPointerDecayCheck.cpp
|
|
ProBoundsConstantArrayIndexCheck.cpp
|
|
ProBoundsPointerArithmeticCheck.cpp
|
|
ProTypeConstCastCheck.cpp
|
|
ProTypeCstyleCastCheck.cpp
|
|
ProTypeMemberInitCheck.cpp
|
|
ProTypeReinterpretCastCheck.cpp
|
|
ProTypeStaticCastDowncastCheck.cpp
|
|
ProTypeUnionAccessCheck.cpp
|
|
ProTypeVarargCheck.cpp
|
|
SlicingCheck.cpp
|
|
SpecialMemberFunctionsCheck.cpp
|
|
|
|
LINK_LIBS
|
|
clangAST
|
|
clangASTMatchers
|
|
clangBasic
|
|
clangLex
|
|
clangSerialization
|
|
clangTidy
|
|
clangTidyMiscModule
|
|
clangTidyModernizeModule
|
|
clangTidyReadabilityModule
|
|
clangTidyUtils
|
|
clangTooling
|
|
)
|