clang-tools 20.0.0git
Classes | Public Member Functions | List of all members
clang::include_fixer::ClangIncludeFixerPluginAction Class Reference

The core include fixer plugin action. More...

Inheritance diagram for clang::include_fixer::ClangIncludeFixerPluginAction:
Inheritance graph
[legend]

Public Member Functions

 ClangIncludeFixerPluginAction ()
 
std::unique_ptr< clang::ASTConsumer > CreateASTConsumer (clang::CompilerInstance &CI, StringRef InFile) override
 
void ExecuteAction () override
 
bool ParseArgs (const CompilerInstance &CI, const std::vector< std::string > &Args) override
 

Detailed Description

The core include fixer plugin action.

This just provides the AST consumer and command line flag parsing for using include fixer as a clang plugin.

Definition at line 22 of file IncludeFixerPlugin.cpp.

Constructor & Destructor Documentation

◆ ClangIncludeFixerPluginAction()

clang::include_fixer::ClangIncludeFixerPluginAction::ClangIncludeFixerPluginAction ( )
inlineexplicit

Definition at line 33 of file IncludeFixerPlugin.cpp.

Member Function Documentation

◆ CreateASTConsumer()

std::unique_ptr< clang::ASTConsumer > clang::include_fixer::ClangIncludeFixerPluginAction::CreateASTConsumer ( clang::CompilerInstance &  CI,
StringRef  InFile 
)
inlineoverride

Definition at line 40 of file IncludeFixerPlugin.cpp.

References CI.

◆ ExecuteAction()

void clang::include_fixer::ClangIncludeFixerPluginAction::ExecuteAction ( )
inlineoverride

Definition at line 47 of file IncludeFixerPlugin.cpp.

◆ ParseArgs()

bool clang::include_fixer::ClangIncludeFixerPluginAction::ParseArgs ( const CompilerInstance &  CI,
const std::vector< std::string > &  Args 
)
inlineoverride

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