Home
last modified time | relevance | path

Searched refs:CheckFactories (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DBugproneTidyModule.cpp75 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
76 CheckFactories.registerCheck<ArgumentCommentCheck>( in addCheckFactories()
78 CheckFactories.registerCheck<AssertSideEffectCheck>( in addCheckFactories()
80 CheckFactories.registerCheck<BadSignalToKillThreadCheck>( in addCheckFactories()
82 CheckFactories.registerCheck<BoolPointerImplicitConversionCheck>( in addCheckFactories()
84 CheckFactories.registerCheck<BranchCloneCheck>( in addCheckFactories()
86 CheckFactories.registerCheck<CopyConstructorInitCheck>( in addCheckFactories()
88 CheckFactories.registerCheck<DanglingHandleCheck>( in addCheckFactories()
90 CheckFactories.registerCheck<DynamicStaticInitializersCheck>( in addCheckFactories()
92 CheckFactories.registerCheck<ExceptionEscapeCheck>( in addCheckFactories()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DReadabilityTidyModule.cpp57 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
58 CheckFactories.registerCheck<AvoidConstParamsInDecls>( in addCheckFactories()
60 CheckFactories.registerCheck<BracesAroundStatementsCheck>( in addCheckFactories()
62 CheckFactories.registerCheck<ConstReturnTypeCheck>( in addCheckFactories()
64 CheckFactories.registerCheck<ContainerSizeEmptyCheck>( in addCheckFactories()
66 CheckFactories.registerCheck<ConvertMemberFunctionsToStatic>( in addCheckFactories()
68 CheckFactories.registerCheck<DeleteNullPointerCheck>( in addCheckFactories()
70 CheckFactories.registerCheck<DeletedDefaultCheck>( in addCheckFactories()
72 CheckFactories.registerCheck<ElseAfterReturnCheck>( in addCheckFactories()
74 CheckFactories.registerCheck<FunctionCognitiveComplexityCheck>( in addCheckFactories()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DModernizeTidyModule.cpp52 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
53 CheckFactories.registerCheck<AvoidBindCheck>("modernize-avoid-bind"); in addCheckFactories()
54 CheckFactories.registerCheck<AvoidCArraysCheck>("modernize-avoid-c-arrays"); in addCheckFactories()
55 CheckFactories.registerCheck<ConcatNestedNamespacesCheck>( in addCheckFactories()
57 CheckFactories.registerCheck<DeprecatedHeadersCheck>( in addCheckFactories()
59 CheckFactories.registerCheck<DeprecatedIosBaseAliasesCheck>( in addCheckFactories()
61 CheckFactories.registerCheck<LoopConvertCheck>("modernize-loop-convert"); in addCheckFactories()
62 CheckFactories.registerCheck<MakeSharedCheck>("modernize-make-shared"); in addCheckFactories()
63 CheckFactories.registerCheck<MakeUniqueCheck>("modernize-make-unique"); in addCheckFactories()
64 CheckFactories.registerCheck<PassByValueCheck>("modernize-pass-by-value"); in addCheckFactories()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DCERTTidyModule.cpp46 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
49 CheckFactories.registerCheck<bugprone::SpuriouslyWakeUpFunctionsCheck>( in addCheckFactories()
52 CheckFactories.registerCheck<PostfixOperatorCheck>( in addCheckFactories()
54 CheckFactories.registerCheck<VariadicFunctionDefCheck>("cert-dcl50-cpp"); in addCheckFactories()
55 CheckFactories.registerCheck<bugprone::ReservedIdentifierCheck>( in addCheckFactories()
57 CheckFactories.registerCheck<misc::NewDeleteOverloadsCheck>( in addCheckFactories()
59 CheckFactories.registerCheck<DontModifyStdNamespaceCheck>( in addCheckFactories()
61 CheckFactories.registerCheck<google::build::UnnamedNamespaceInHeaderCheck>( in addCheckFactories()
64 CheckFactories.registerCheck<misc::ThrowByValueCatchByReferenceCheck>( in addCheckFactories()
66 CheckFactories.registerCheck<SetLongJmpCheck>("cert-err52-cpp"); in addCheckFactories()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/hicpp/
DHICPPTidyModule.cpp50 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
51 CheckFactories.registerCheck<modernize::AvoidCArraysCheck>( in addCheckFactories()
53 CheckFactories.registerCheck<cppcoreguidelines::AvoidGotoCheck>( in addCheckFactories()
55 CheckFactories.registerCheck<readability::BracesAroundStatementsCheck>( in addCheckFactories()
57 CheckFactories.registerCheck<modernize::DeprecatedHeadersCheck>( in addCheckFactories()
59 CheckFactories.registerCheck<ExceptionBaseclassCheck>( in addCheckFactories()
61 CheckFactories.registerCheck<MultiwayPathsCoveredCheck>( in addCheckFactories()
63 CheckFactories.registerCheck<SignedBitwiseCheck>("hicpp-signed-bitwise"); in addCheckFactories()
64 CheckFactories.registerCheck<google::ExplicitConstructorCheck>( in addCheckFactories()
66 CheckFactories.registerCheck<readability::FunctionSizeCheck>( in addCheckFactories()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DCppCoreGuidelinesTidyModule.cpp46 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
47 CheckFactories.registerCheck<modernize::AvoidCArraysCheck>( in addCheckFactories()
49 CheckFactories.registerCheck<AvoidGotoCheck>( in addCheckFactories()
51 CheckFactories.registerCheck<readability::MagicNumbersCheck>( in addCheckFactories()
53 CheckFactories.registerCheck<AvoidNonConstGlobalVariablesCheck>( in addCheckFactories()
55 CheckFactories.registerCheck<modernize::UseOverrideCheck>( in addCheckFactories()
57 CheckFactories.registerCheck<InitVariablesCheck>( in addCheckFactories()
59 CheckFactories.registerCheck<InterfacesGlobalInitCheck>( in addCheckFactories()
61 CheckFactories.registerCheck<MacroUsageCheck>( in addCheckFactories()
63 CheckFactories.registerCheck<NarrowingConversionsCheck>( in addCheckFactories()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/
DAbseilTidyModule.cpp37 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
38 CheckFactories.registerCheck<DurationAdditionCheck>( in addCheckFactories()
40 CheckFactories.registerCheck<DurationComparisonCheck>( in addCheckFactories()
42 CheckFactories.registerCheck<DurationConversionCastCheck>( in addCheckFactories()
44 CheckFactories.registerCheck<DurationDivisionCheck>( in addCheckFactories()
46 CheckFactories.registerCheck<DurationFactoryFloatCheck>( in addCheckFactories()
48 CheckFactories.registerCheck<DurationFactoryScaleCheck>( in addCheckFactories()
50 CheckFactories.registerCheck<DurationSubtractionCheck>( in addCheckFactories()
52 CheckFactories.registerCheck<DurationUnnecessaryConversionCheck>( in addCheckFactories()
54 CheckFactories.registerCheck<FasterStrsplitDelimiterCheck>( in addCheckFactories()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DGoogleTidyModule.cpp40 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
41 CheckFactories.registerCheck<build::ExplicitMakePairCheck>( in addCheckFactories()
43 CheckFactories.registerCheck<build::UnnamedNamespaceInHeaderCheck>( in addCheckFactories()
45 CheckFactories.registerCheck<build::UsingNamespaceDirectiveCheck>( in addCheckFactories()
47 CheckFactories.registerCheck<DefaultArgumentsCheck>( in addCheckFactories()
49 CheckFactories.registerCheck<ExplicitConstructorCheck>( in addCheckFactories()
51 CheckFactories.registerCheck<readability::GlobalNamesInHeadersCheck>( in addCheckFactories()
53 CheckFactories.registerCheck<objc::AvoidNSObjectNewCheck>( in addCheckFactories()
55 CheckFactories.registerCheck<objc::AvoidThrowingObjCExceptionCheck>( in addCheckFactories()
57 CheckFactories.registerCheck<objc::FunctionNamingCheck>( in addCheckFactories()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DPerformanceTidyModule.cpp34 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
35 CheckFactories.registerCheck<FasterStringFindCheck>( in addCheckFactories()
37 CheckFactories.registerCheck<ForRangeCopyCheck>( in addCheckFactories()
39 CheckFactories.registerCheck<ImplicitConversionInLoopCheck>( in addCheckFactories()
41 CheckFactories.registerCheck<InefficientAlgorithmCheck>( in addCheckFactories()
43 CheckFactories.registerCheck<InefficientStringConcatenationCheck>( in addCheckFactories()
45 CheckFactories.registerCheck<InefficientVectorOperationCheck>( in addCheckFactories()
47 CheckFactories.registerCheck<MoveConstArgCheck>( in addCheckFactories()
49 CheckFactories.registerCheck<MoveConstructorInitCheck>( in addCheckFactories()
51 CheckFactories.registerCheck<NoAutomaticMoveCheck>( in addCheckFactories()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/android/
DAndroidTidyModule.cpp37 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
38 CheckFactories.registerCheck<CloexecAccept4Check>("android-cloexec-accept4"); in addCheckFactories()
39 CheckFactories.registerCheck<CloexecAcceptCheck>("android-cloexec-accept"); in addCheckFactories()
40 CheckFactories.registerCheck<CloexecCreatCheck>("android-cloexec-creat"); in addCheckFactories()
41 CheckFactories.registerCheck<CloexecDupCheck>("android-cloexec-dup"); in addCheckFactories()
42 CheckFactories.registerCheck<CloexecEpollCreate1Check>( in addCheckFactories()
44 CheckFactories.registerCheck<CloexecEpollCreateCheck>( in addCheckFactories()
46 CheckFactories.registerCheck<CloexecFopenCheck>("android-cloexec-fopen"); in addCheckFactories()
47 CheckFactories.registerCheck<CloexecInotifyInit1Check>( in addCheckFactories()
49 CheckFactories.registerCheck<CloexecInotifyInitCheck>( in addCheckFactories()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DMiscTidyModule.cpp33 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
34 CheckFactories.registerCheck<DefinitionsInHeadersCheck>( in addCheckFactories()
36 CheckFactories.registerCheck<MisplacedConstCheck>("misc-misplaced-const"); in addCheckFactories()
37 CheckFactories.registerCheck<NewDeleteOverloadsCheck>( in addCheckFactories()
39 CheckFactories.registerCheck<NoRecursionCheck>("misc-no-recursion"); in addCheckFactories()
40 CheckFactories.registerCheck<NonCopyableObjectsCheck>( in addCheckFactories()
42 CheckFactories.registerCheck<NonPrivateMemberVariablesInClassesCheck>( in addCheckFactories()
44 CheckFactories.registerCheck<RedundantExpressionCheck>( in addCheckFactories()
46 CheckFactories.registerCheck<StaticAssertCheck>("misc-static-assert"); in addCheckFactories()
47 CheckFactories.registerCheck<ThrowByValueCatchByReferenceCheck>( in addCheckFactories()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/fuchsia/
DFuchsiaTidyModule.cpp30 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
31 CheckFactories.registerCheck<DefaultArgumentsCallsCheck>( in addCheckFactories()
33 CheckFactories.registerCheck<DefaultArgumentsDeclarationsCheck>( in addCheckFactories()
35 CheckFactories.registerCheck<google::build::UnnamedNamespaceInHeaderCheck>( in addCheckFactories()
37 CheckFactories.registerCheck<MultipleInheritanceCheck>( in addCheckFactories()
39 CheckFactories.registerCheck<OverloadedOperatorCheck>( in addCheckFactories()
41 CheckFactories.registerCheck<StaticallyConstructedObjectsCheck>( in addCheckFactories()
43 CheckFactories.registerCheck<TrailingReturnCheck>( in addCheckFactories()
45 CheckFactories.registerCheck<VirtualInheritanceCheck>( in addCheckFactories()
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/
DLLVMTidyModule.cpp27 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
28 CheckFactories.registerCheck<readability::ElseAfterReturnCheck>( in addCheckFactories()
30 CheckFactories.registerCheck<LLVMHeaderGuardCheck>("llvm-header-guard"); in addCheckFactories()
31 CheckFactories.registerCheck<IncludeOrderCheck>("llvm-include-order"); in addCheckFactories()
32 CheckFactories.registerCheck<readability::NamespaceCommentCheck>( in addCheckFactories()
34 CheckFactories.registerCheck<PreferIsaOrDynCastInConditionalsCheck>( in addCheckFactories()
36 CheckFactories.registerCheck<PreferRegisterOverUnsignedCheck>( in addCheckFactories()
38 CheckFactories.registerCheck<readability::QualifiedAutoCheck>( in addCheckFactories()
40 CheckFactories.registerCheck<TwineLocalCheck>("llvm-twine-local"); in addCheckFactories()
/external/llvm-project/clang-tools-extra/clang-tidy/objc/
DObjCTidyModule.cpp28 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
29 CheckFactories.registerCheck<AvoidNSErrorInitCheck>( in addCheckFactories()
31 CheckFactories.registerCheck<DeallocInCategoryCheck>( in addCheckFactories()
33 CheckFactories.registerCheck<ForbiddenSubclassingCheck>( in addCheckFactories()
35 CheckFactories.registerCheck<MissingHashCheck>( in addCheckFactories()
37 CheckFactories.registerCheck<NSInvocationArgumentLifetimeCheck>( in addCheckFactories()
39 CheckFactories.registerCheck<PropertyDeclarationCheck>( in addCheckFactories()
41 CheckFactories.registerCheck<SuperSelfCheck>( in addCheckFactories()
/external/llvm-project/clang-tools-extra/clang-tidy/llvmlibc/
DLLVMLibcTidyModule.cpp22 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
23 CheckFactories.registerCheck<CalleeNamespaceCheck>( in addCheckFactories()
25 CheckFactories.registerCheck<ImplementationInNamespaceCheck>( in addCheckFactories()
27 CheckFactories.registerCheck<RestrictSystemLibcHeadersCheck>( in addCheckFactories()
/external/llvm-project/clang-tools-extra/clang-tidy/portability/
DPortabilityTidyModule.cpp21 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
22 CheckFactories.registerCheck<RestrictSystemIncludesCheck>( in addCheckFactories()
24 CheckFactories.registerCheck<SIMDIntrinsicsCheck>( in addCheckFactories()
/external/llvm-project/clang-tools-extra/clang-tidy/openmp/
DOpenMPTidyModule.cpp22 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
23 CheckFactories.registerCheck<ExceptionEscapeCheck>( in addCheckFactories()
25 CheckFactories.registerCheck<UseDefaultNoneCheck>( in addCheckFactories()
/external/llvm-project/clang-tools-extra/clang-tidy/mpi/
DMPITidyModule.cpp21 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
22 CheckFactories.registerCheck<BufferDerefCheck>("mpi-buffer-deref"); in addCheckFactories()
23 CheckFactories.registerCheck<TypeMismatchCheck>("mpi-type-mismatch"); in addCheckFactories()
/external/llvm-project/clang-tools-extra/clang-tidy/darwin/
DDarwinTidyModule.cpp21 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
22 CheckFactories.registerCheck<AvoidSpinlockCheck>( in addCheckFactories()
24 CheckFactories.registerCheck<DispatchOnceNonstaticCheck>( in addCheckFactories()
/external/llvm-project/clang-tools-extra/clang-tidy/altera/
DAlteraTidyModule.cpp23 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
24 CheckFactories.registerCheck<KernelNameRestrictionCheck>( in addCheckFactories()
26 CheckFactories.registerCheck<StructPackAlignCheck>( in addCheckFactories()
/external/llvm-project/clang-tools-extra/clang-tidy/linuxkernel/
DLinuxKernelTidyModule.cpp21 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
22 CheckFactories.registerCheck<MustCheckErrsCheck>( in addCheckFactories()
/external/llvm-project/clang-tools-extra/clang-tidy/zircon/
DZirconTidyModule.cpp23 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
24 CheckFactories.registerCheck<TemporaryObjectsCheck>( in addCheckFactories()
/external/llvm-project/clang-tools-extra/clang-tidy/boost/
DBoostTidyModule.cpp21 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
22 CheckFactories.registerCheck<UseToStringCheck>("boost-use-to-string"); in addCheckFactories()
/external/llvm-project/clang-tools-extra/clang-tidy/concurrency/
DConcurrencyTidyModule.cpp20 void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override { in addCheckFactories() argument
21 CheckFactories.registerCheck<concurrency::MtUnsafeCheck>( in addCheckFactories()
/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidy.cpp323 CheckFactories(new ClangTidyCheckFactories) { in ClangTidyASTConsumerFactory()
326 Module->addCheckFactories(*CheckFactories); in ClangTidyASTConsumerFactory()
395 CheckFactories->createChecks(&Context); in CreateASTConsumer()
454 for (const auto &CheckFactory : *CheckFactories) { in getCheckNames()
472 CheckFactories->createChecks(&Context); in getCheckOptions()

12