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

#include <IncludeFixer.h>

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

Public Member Functions

 IncludeFixerActionFactory (SymbolIndexManager &SymbolIndexMgr, std::vector< IncludeFixerContext > &Contexts, StringRef StyleName, bool MinimizeIncludePaths=true)
 
 ~IncludeFixerActionFactory () override
 
bool runInvocation (std::shared_ptr< clang::CompilerInvocation > Invocation, clang::FileManager *Files, std::shared_ptr< clang::PCHContainerOperations > PCHContainerOps, clang::DiagnosticConsumer *Diagnostics) override
 

Detailed Description

Definition at line 30 of file clang-include-fixer/IncludeFixer.h.

Constructor & Destructor Documentation

◆ IncludeFixerActionFactory()

clang::include_fixer::IncludeFixerActionFactory::IncludeFixerActionFactory ( SymbolIndexManager SymbolIndexMgr,
std::vector< IncludeFixerContext > &  Contexts,
StringRef  StyleName,
bool  MinimizeIncludePaths = true 
)
Parameters
SymbolIndexMgrA source for matching symbols to header files.
ContextsThe contexts for the symbols being queried.
StyleNameFallback style for reformatting.
MinimizeIncludePathswhether inserted include paths are optimized.

Definition at line 75 of file clang-include-fixer/IncludeFixer.cpp.

◆ ~IncludeFixerActionFactory()

clang::include_fixer::IncludeFixerActionFactory::~IncludeFixerActionFactory ( )
overridedefault

Member Function Documentation

◆ runInvocation()

bool clang::include_fixer::IncludeFixerActionFactory::runInvocation ( std::shared_ptr< clang::CompilerInvocation >  Invocation,
clang::FileManager *  Files,
std::shared_ptr< clang::PCHContainerOperations >  PCHContainerOps,
clang::DiagnosticConsumer *  Diagnostics 
)
override

Definition at line 84 of file clang-include-fixer/IncludeFixer.cpp.


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