clang-tools 20.0.0git
|
The core clang tidy plugin action. More...
Public Member Functions | |
std::unique_ptr< ASTConsumer > | CreateASTConsumer (CompilerInstance &Compiler, StringRef File) override |
bool | ParseArgs (const CompilerInstance &, const std::vector< std::string > &Args) override |
The core clang tidy plugin action.
This just provides the AST consumer and command line flag parsing for using clang-tidy as a clang plugin.
Definition at line 21 of file ClangTidyPlugin.cpp.
|
inlineoverride |
Definition at line 38 of file ClangTidyPlugin.cpp.
References clang::tidy::ClangTidyASTConsumerFactory::createASTConsumer(), and DiagConsumer.
|
inlineoverride |
Definition at line 56 of file ClangTidyPlugin.cpp.
References Args, and clang::tidy::ClangTidyOptions::Checks.