| 1 |
static_library("cppcoreguidelines") { |
| 2 |
output_name = "clangTidyCppCoreGuidelinesModule" |
| 3 |
configs += [ "//llvm/utils/gn/build:clang_code" ] |
| 4 |
deps = [ |
| 5 |
"//clang-tools-extra/clang-tidy", |
| 6 |
"//clang-tools-extra/clang-tidy/misc", |
| 7 |
"//clang-tools-extra/clang-tidy/modernize", |
| 8 |
"//clang-tools-extra/clang-tidy/readability", |
| 9 |
"//clang-tools-extra/clang-tidy/utils", |
| 10 |
"//clang/lib/AST", |
| 11 |
"//clang/lib/ASTMatchers", |
| 12 |
"//clang/lib/Basic", |
| 13 |
"//clang/lib/Lex", |
| 14 |
"//clang/lib/Serialization", |
| 15 |
"//clang/lib/Tooling", |
| 16 |
"//llvm/lib/Support", |
| 17 |
] |
| 18 |
sources = [ |
| 19 |
"AvoidCapturingLambdaCoroutinesCheck.cpp", |
| 20 |
"AvoidConstOrRefDataMembersCheck.cpp", |
| 21 |
"AvoidDoWhileCheck.cpp", |
| 22 |
"AvoidGotoCheck.cpp", |
| 23 |
"AvoidNonConstGlobalVariablesCheck.cpp", |
| 24 |
"AvoidReferenceCoroutineParametersCheck.cpp", |
| 25 |
"CppCoreGuidelinesTidyModule.cpp", |
| 26 |
"InitVariablesCheck.cpp", |
| 27 |
"InterfacesGlobalInitCheck.cpp", |
| 28 |
"MacroUsageCheck.cpp", |
| 29 |
"MisleadingCaptureDefaultByValueCheck.cpp", |
| 30 |
"MissingStdForwardCheck.cpp", |
| 31 |
"NoMallocCheck.cpp", |
| 32 |
"NoSuspendWithLockCheck.cpp", |
| 33 |
"OwningMemoryCheck.cpp", |
| 34 |
"PreferMemberInitializerCheck.cpp", |
| 35 |
"ProBoundsArrayToPointerDecayCheck.cpp", |
| 36 |
"ProBoundsConstantArrayIndexCheck.cpp", |
| 37 |
"ProBoundsPointerArithmeticCheck.cpp", |
| 38 |
"ProTypeConstCastCheck.cpp", |
| 39 |
"ProTypeCstyleCastCheck.cpp", |
| 40 |
"ProTypeMemberInitCheck.cpp", |
| 41 |
"ProTypeReinterpretCastCheck.cpp", |
| 42 |
"ProTypeStaticCastDowncastCheck.cpp", |
| 43 |
"ProTypeUnionAccessCheck.cpp", |
| 44 |
"ProTypeVarargCheck.cpp", |
| 45 |
"RvalueReferenceParamNotMovedCheck.cpp", |
| 46 |
"SlicingCheck.cpp", |
| 47 |
"SpecialMemberFunctionsCheck.cpp", |
| 48 |
"UseEnumClassCheck.cpp", |
| 49 |
"VirtualClassDestructorCheck.cpp", |
| 50 |
] |
| 51 |
} |