clang-tools  14.0.0git
Classes | Namespaces | Functions
ClangTidyDiagnosticConsumer.h File Reference
#include "ClangTidyOptions.h"
#include "ClangTidyProfiling.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Tooling/Core/Diagnostic.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/Support/Regex.h"
Include dependency graph for ClangTidyDiagnosticConsumer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  clang::tidy::ClangTidyError
 A detected error complete with information to display diagnostic and automatic fix. More...
struct  clang::tidy::ClangTidyStats
 Contains displayed and ignored diagnostic counters for a ClangTidy run. More...
class  clang::tidy::ClangTidyContext
 Every ClangTidyCheck reports errors through a DiagnosticsEngine provided by this context. More...
class  clang::tidy::ClangTidyDiagnosticConsumer
 A diagnostic consumer that turns each Diagnostic into a SourceManager-independent ClangTidyError. More...


 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//


bool clang::tidy::shouldSuppressDiagnostic (DiagnosticsEngine::Level DiagLevel, const Diagnostic &Info, ClangTidyContext &Context, SmallVectorImpl< ClangTidyError > &SuppressionErrors, bool AllowIO=true, bool EnableNolintBlocks=true)
 Check whether a given diagnostic should be suppressed due to the presence of a "NOLINT" suppression comment. More...
const llvm::StringMap< tooling::Replacements > * clang::tidy::getFixIt (const tooling::Diagnostic &Diagnostic, bool AnyFix)
 Gets the Fix attached to Diagnostic. More...