clang-tools  14.0.0git
Classes | Namespaces | Enumerations | Functions
ClangTidy.h File Reference
#include "ClangTidyDiagnosticConsumer.h"
#include "ClangTidyOptions.h"
#include <memory>
#include <vector>
Include dependency graph for ClangTidy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  clang::tidy::ClangTidyASTConsumerFactory


 Some operations such as code completion produce a set of candidates.
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//


enum  clang::tidy::FixBehaviour { clang::tidy::FB_NoFix, clang::tidy::FB_Fix, clang::tidy::FB_FixNotes }
 Controls what kind of fixes clang-tidy is allowed to apply. More...


std::vector< std::string > clang::tidy::getCheckNames (const ClangTidyOptions &Options, bool AllowEnablingAnalyzerAlphaCheckers)
 Fills the list of check names that are enabled when the provided filters are applied. More...
ClangTidyOptions::OptionMap clang::tidy::getCheckOptions (const ClangTidyOptions &Options, bool AllowEnablingAnalyzerAlphaCheckers)
 Returns the effective check-specific options. More...
std::vector< ClangTidyError > clang::tidy::runClangTidy (clang::tidy::ClangTidyContext &Context, const tooling::CompilationDatabase &Compilations, ArrayRef< std::string > InputFiles, llvm::IntrusiveRefCntPtr< llvm::vfs::OverlayFileSystem > BaseFS, bool ApplyAnyFix, bool EnableCheckProfile=false, llvm::StringRef StoreCheckProfile=StringRef())
 Run a set of clang-tidy checks on a set of files. More...
void clang::tidy::handleErrors (llvm::ArrayRef< ClangTidyError > Errors, ClangTidyContext &Context, FixBehaviour Fix, unsigned &WarningsAsErrorsCount, llvm::IntrusiveRefCntPtr< llvm::vfs::FileSystem > BaseFS)
 Displays the found Errors to the users. More...
void clang::tidy::exportReplacements (StringRef MainFilePath, const std::vector< ClangTidyError > &Errors, raw_ostream &OS)
 Serializes replacements into YAML and writes them to the specified output stream. More...