clang-tools 20.0.0git
Classes | Namespaces | Functions
ClangTidyDiagnosticConsumer.h File Reference
#include "ClangTidyOptions.h"
#include "ClangTidyProfiling.h"
#include "FileExtensionsSet.h"
#include "NoLintDirectiveHandler.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Tooling/Core/Diagnostic.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/Support/Regex.h"
#include <optional>

Go to the source code of this file.

Classes

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...
 

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
namespace  clang::tidy
 

Functions

const llvm::StringMap< tooling::Replacements > * clang::tidy::getFixIt (const tooling::Diagnostic &Diagnostic, bool AnyFix)
 Gets the Fix attached to Diagnostic.