clang-tools 20.0.0git
|
A clang-tidy module groups a number of ClangTidyChecks
and gives them a prefixed name.
More...
#include <ClangTidyModule.h>
Public Member Functions | |
virtual | ~ClangTidyModule () |
virtual void | addCheckFactories (ClangTidyCheckFactories &CheckFactories)=0 |
Implement this function in order to register all CheckFactories belonging to this module. | |
virtual ClangTidyOptions | getModuleOptions () |
Gets default options for checks defined in this module. | |
A clang-tidy module groups a number of ClangTidyChecks
and gives them a prefixed name.
Definition at line 84 of file ClangTidyModule.h.
|
inlinevirtual |
Definition at line 86 of file ClangTidyModule.h.
|
pure virtual |
Implement this function in order to register all CheckFactories
belonging to this module.
Implemented in clang::tidy::abseil::AbseilModule, clang::tidy::altera::AlteraModule, clang::tidy::android::AndroidModule, clang::tidy::boost::BoostModule, clang::tidy::bugprone::BugproneModule, clang::tidy::cert::CERTModule, clang::tidy::concurrency::ConcurrencyModule, clang::tidy::cppcoreguidelines::CppCoreGuidelinesModule, clang::tidy::darwin::DarwinModule, clang::tidy::fuchsia::FuchsiaModule, clang::tidy::google::GoogleModule, clang::tidy::hicpp::HICPPModule, clang::tidy::linuxkernel::LinuxKernelModule, clang::tidy::llvm_check::LLVMModule, clang::tidy::llvm_libc::LLVMLibcModule, clang::tidy::misc::MiscModule, clang::tidy::modernize::ModernizeModule, clang::tidy::mpi::MPIModule, clang::tidy::objc::ObjCModule, clang::tidy::openmp::OpenMPModule, clang::tidy::performance::PerformanceModule, clang::tidy::portability::PortabilityModule, clang::tidy::readability::ReadabilityModule, and clang::tidy::zircon::ZirconModule.
|
virtual |
Gets default options for checks defined in this module.
Reimplemented in clang::tidy::cert::CERTModule, clang::tidy::cppcoreguidelines::CppCoreGuidelinesModule, clang::tidy::google::GoogleModule, and clang::tidy::llvm_check::LLVMModule.
Definition at line 49 of file ClangTidyModule.cpp.