clang-tools 22.0.0git
clang::tidy::ClangTidyModule Class Referenceabstract

A clang-tidy module groups a number of ClangTidyChecks and gives them a prefixed name. More...

#include <ClangTidyModule.h>

Inheritance diagram for clang::tidy::ClangTidyModule:
[legend]

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.

Detailed Description

A clang-tidy module groups a number of ClangTidyChecks and gives them a prefixed name.

Definition at line 86 of file ClangTidyModule.h.

Constructor & Destructor Documentation

◆ ~ClangTidyModule()

virtual clang::tidy::ClangTidyModule::~ClangTidyModule ( )
inlinevirtual

Definition at line 88 of file ClangTidyModule.h.

Member Function Documentation

◆ addCheckFactories()

◆ getModuleOptions()

ClangTidyOptions clang::tidy::ClangTidyModule::getModuleOptions ( )
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.


The documentation for this class was generated from the following files: