Home
last modified time | relevance | path

Searched refs:CheckFactory (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DClangTidyModule.h30 using CheckFactory = std::function<std::unique_ptr<ClangTidyCheck>(
36 void registerCheckFactory(llvm::StringRef Name, CheckFactory Factory);
74 typedef llvm::StringMap<CheckFactory> FactoryMap;
H A DClangTidyModule.cpp20 CheckFactory Factory) { in registerCheckFactory()
H A DClangTidy.cpp460 for (const auto &CheckFactory : *CheckFactories) { in getCheckNames()
461 if (Context.isCheckEnabled(CheckFactory.getKey())) in getCheckNames()
462 CheckNames.emplace_back(CheckFactory.getKey()); in getCheckNames()
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/
H A DClangTidyTest.h30 template <typename Check, typename... Checks> struct CheckFactory { struct
34 CheckFactory<Check>::createChecks(Context, Result); in createChecks() argument
35 CheckFactory<Checks...>::createChecks(Context, Result); in createChecks()
39 template <typename Check> struct CheckFactory<Check> {
68 CheckFactory<CheckTypes...>::createChecks(&Context, Checks);
/llvm-project-15.0.7/clang/tools/clang-check/
H A DClangCheck.cpp246 ClangCheckActionFactory CheckFactory; in main() local
257 FrontendFactory = newFrontendActionFactory(&CheckFactory); in main()