class PathDiagnosticConsumer

Declaration

class PathDiagnosticConsumer { /* full declaration omitted */ };

Declared at: clang/include/clang/Analysis/PathDiagnostic.h:92

Member Variables

protected bool flushed = false
protected llvm::FoldingSet<PathDiagnostic> Diags

Method Overview

Methods

void FlushDiagnostics(
    clang::ento::PathDiagnosticConsumer::
        FilesMade* FilesMade)

Declared at: clang/include/clang/Analysis/PathDiagnostic.h:133

Parameters

clang::ento::PathDiagnosticConsumer::FilesMade* FilesMade

virtual void FlushDiagnosticsImpl(
    std::vector<const PathDiagnostic*>& Diags,
    clang::ento::PathDiagnosticConsumer::
        FilesMade* filesMade)

Declared at: clang/include/clang/Analysis/PathDiagnostic.h:135

Parameters

std::vector<const PathDiagnostic*>& Diags
clang::ento::PathDiagnosticConsumer::FilesMade* filesMade

void HandlePathDiagnostic(
    std::unique_ptr<PathDiagnostic> D)

Declared at: clang/include/clang/Analysis/PathDiagnostic.h:140

Parameters

std::unique_ptr<PathDiagnostic> D

PathDiagnosticConsumer()

Declared at: clang/include/clang/Analysis/PathDiagnostic.h:130

virtual void anchor()

Declared at: clang/include/clang/Analysis/PathDiagnostic.h:127

virtual clang::ento::PathDiagnosticConsumer::
    PathGenerationScheme
    getGenerationScheme() const

Declared at: clang/include/clang/Analysis/PathDiagnostic.h:156

virtual llvm::StringRef getName() const

Declared at: clang/include/clang/Analysis/PathDiagnostic.h:138

bool shouldAddControlNotes() const

Declared at: clang/include/clang/Analysis/PathDiagnostic.h:163

bool shouldAddPathEdges() const

Declared at: clang/include/clang/Analysis/PathDiagnostic.h:162

bool shouldGenerateDiagnostics() const

Declared at: clang/include/clang/Analysis/PathDiagnostic.h:158

virtual bool supportsCrossFileDiagnostics() const

Description

Return true if the PathDiagnosticConsumer supports individual PathDiagnostics that span multiple files.

Declared at: clang/include/clang/Analysis/PathDiagnostic.h:172

virtual bool supportsLogicalOpControlFlow() const

Declared at: clang/include/clang/Analysis/PathDiagnostic.h:168

virtual ~PathDiagnosticConsumer()

Declared at: clang/include/clang/Analysis/PathDiagnostic.h:131