clang-tools  5.0.0
Classes | Namespaces | Functions
ClangTidy.h File Reference
#include "ClangTidyDiagnosticConsumer.h"
#include "ClangTidyOptions.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Tooling/Refactoring.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/raw_ostream.h"
#include <memory>
#include <type_traits>
#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.

Classes

class  clang::tidy::OptionsView
 Provides access to the ClangTidyCheck options via check-local names. More...
 
class  clang::tidy::ClangTidyCheck
 Base class for all clang-tidy checks. More...
 
class  clang::tidy::ClangTidyASTConsumerFactory
 

Namespaces

 clang
 
 clang::tooling
 
 clang::tidy
 

Functions

std::vector< std::string > clang::tidy::getCheckNames (const ClangTidyOptions &Options)
 Fills the list of check names that are enabled when the provided filters are applied. More...
 
ClangTidyOptions::OptionMap clang::tidy::getCheckOptions (const ClangTidyOptions &Options)
 Returns the effective check-specific options. More...
 
void clang::tidy::runClangTidy (clang::tidy::ClangTidyContext &Context, const tooling::CompilationDatabase &Compilations, ArrayRef< std::string > InputFiles, ProfileData *Profile=nullptr)
 Run a set of clang-tidy checks on a set of files. More...
 
void clang::tidy::handleErrors (ClangTidyContext &Context, bool Fix, unsigned &WarningsAsErrorsCount)
 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...