clang-tools  3.9.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
 -rename
 
 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...
 
ClangTidyStats clang::tidy::runClangTidy (std::unique_ptr< ClangTidyOptionsProvider > OptionsProvider, const tooling::CompilationDatabase &Compilations, ArrayRef< std::string > InputFiles, std::vector< ClangTidyError > *Errors, ProfileData *Profile=nullptr)
 Run a set of clang-tidy checks on a set of files. More...
 
void clang::tidy::handleErrors (const std::vector< ClangTidyError > &Errors, bool Fix, unsigned &WarningsAsErrorsCount)
 Displays the found Errors to the users. More...
 
void clang::tidy::exportReplacements (const std::vector< ClangTidyError > &Errors, raw_ostream &OS)
 Serializes replacements into YAML and writes them to the specified output stream. More...