|
clang-tools 22.0.0git
|
#include <ClangTidy.h>
Public Member Functions | |
| ClangTidyASTConsumerFactory (ClangTidyContext &Context, IntrusiveRefCntPtr< llvm::vfs::OverlayFileSystem > OverlayFS=nullptr) | |
| std::unique_ptr< clang::ASTConsumer > | createASTConsumer (clang::CompilerInstance &Compiler, StringRef File) |
| Returns an ASTConsumer that runs the specified clang-tidy checks. | |
| std::vector< std::string > | getCheckNames () |
| Get the list of enabled checks. | |
| ClangTidyOptions::OptionMap | getCheckOptions () |
| Get the union of options from all checks. | |
Definition at line 34 of file ClangTidy.h.
| clang::tidy::ClangTidyASTConsumerFactory::ClangTidyASTConsumerFactory | ( | ClangTidyContext & | Context, |
| IntrusiveRefCntPtr< llvm::vfs::OverlayFileSystem > | OverlayFS = nullptr ) |
Definition at line 350 of file ClangTidy.cpp.
References clang::tidy::custom::RegisterCustomChecks.
| std::unique_ptr< clang::ASTConsumer > clang::tidy::ClangTidyASTConsumerFactory::createASTConsumer | ( | clang::CompilerInstance & | Compiler, |
| StringRef | File ) |
Returns an ASTConsumer that runs the specified clang-tidy checks.
Definition at line 415 of file ClangTidy.cpp.
References Checks(), and clang::tidy::custom::RegisterCustomChecks.
Referenced by clang::tidy::ClangTidyPluginAction::CreateASTConsumer(), and clang::tidy::runClangTidy().
| std::vector< std::string > clang::tidy::ClangTidyASTConsumerFactory::getCheckNames | ( | ) |
Get the list of enabled checks.
Definition at line 492 of file ClangTidy.cpp.
Referenced by clang::tidy::getCheckNames().
| ClangTidyOptions::OptionMap clang::tidy::ClangTidyASTConsumerFactory::getCheckOptions | ( | ) |
Get the union of options from all checks.
Definition at line 510 of file ClangTidy.cpp.
References Checks().
Referenced by clang::tidy::getCheckOptions().