clang-tools  6.0.0svn
Public Member Functions | List of all members
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:
Inheritance graph
[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. More...
 
virtual ClangTidyOptions getModuleOptions ()
 Gets default options for checks defined in this module. More...
 

Detailed Description

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

Definition at line 84 of file ClangTidyModule.h.

Constructor & Destructor Documentation

◆ ~ClangTidyModule()

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

Definition at line 86 of file ClangTidyModule.h.

Member Function Documentation

◆ addCheckFactories()

virtual void clang::tidy::ClangTidyModule::addCheckFactories ( ClangTidyCheckFactories CheckFactories)
pure virtual

◆ getModuleOptions()

ClangTidyOptions clang::tidy::ClangTidyModule::getModuleOptions ( )
virtual

Gets default options for checks defined in this module.

Reimplemented in clang::tidy::modernize::ModernizeModule, and clang::tidy::google::GoogleModule.

Definition at line 33 of file ClangTidyModule.cpp.


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