clang-tools 20.0.0git
Public Member Functions | List of all members
clang::tidy::cppcoreguidelines::CppCoreGuidelinesModule Class Reference

A module containing checks of the C++ Core Guidelines. More...

Inheritance diagram for clang::tidy::cppcoreguidelines::CppCoreGuidelinesModule:
Inheritance graph
[legend]

Public Member Functions

void addCheckFactories (ClangTidyCheckFactories &CheckFactories) override
 Implement this function in order to register all CheckFactories belonging to this module.
 
ClangTidyOptions getModuleOptions () override
 Gets default options for checks defined in this module.
 
- Public Member Functions inherited from clang::tidy::ClangTidyModule
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 module containing checks of the C++ Core Guidelines.

Definition at line 57 of file CppCoreGuidelinesTidyModule.cpp.

Member Function Documentation

◆ addCheckFactories()

void clang::tidy::cppcoreguidelines::CppCoreGuidelinesModule::addCheckFactories ( ClangTidyCheckFactories CheckFactories)
inlineoverridevirtual

Implement this function in order to register all CheckFactories belonging to this module.

Implements clang::tidy::ClangTidyModule.

Definition at line 59 of file CppCoreGuidelinesTidyModule.cpp.

References clang::tidy::ClangTidyCheckFactories::registerCheck().

◆ getModuleOptions()

ClangTidyOptions clang::tidy::cppcoreguidelines::CppCoreGuidelinesModule::getModuleOptions ( )
inlineoverridevirtual

Gets default options for checks defined in this module.

Reimplemented from clang::tidy::ClangTidyModule.

Definition at line 140 of file CppCoreGuidelinesTidyModule.cpp.

References clang::tidy::ClangTidyOptions::CheckOptions.


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