clang API Documentation

Classes | Public Types | Public Member Functions | Protected Attributes
clang::ento::PathDiagnosticConsumer Class Reference

#include <PathDiagnostic.h>

Collaboration diagram for clang::ento::PathDiagnosticConsumer:
Collaboration graph
[legend]

List of all members.

Classes

struct  FilesMade
class  PDFileEntry

Public Types

enum  PathGenerationScheme { None, Minimal, Extensive, AlternateExtensive }

Public Member Functions

 PathDiagnosticConsumer ()
virtual ~PathDiagnosticConsumer ()
void FlushDiagnostics (FilesMade *FilesMade)
virtual void FlushDiagnosticsImpl (std::vector< const PathDiagnostic * > &Diags, FilesMade *filesMade)=0
virtual StringRef getName () const =0
void HandlePathDiagnostic (std::unique_ptr< PathDiagnostic > D)
virtual PathGenerationScheme getGenerationScheme () const
virtual bool supportsLogicalOpControlFlow () const
virtual bool supportsCrossFileDiagnostics () const

Protected Attributes

bool flushed
llvm::FoldingSet< PathDiagnosticDiags

Detailed Description

Definition at line 55 of file PathDiagnostic.h.


Member Enumeration Documentation

Enumerator:
None 
Minimal 
Extensive 
AlternateExtensive 

Definition at line 100 of file PathDiagnostic.h.


Constructor & Destructor Documentation

Definition at line 88 of file PathDiagnostic.h.

Definition at line 192 of file PathDiagnostic.cpp.

References Diags.


Member Function Documentation

Definition at line 419 of file PathDiagnostic.cpp.

References compare(), Diags, FlushDiagnosticsImpl(), flushed, and X.

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

Referenced by FlushDiagnostics().

Definition at line 101 of file PathDiagnostic.h.

References Minimal.

Referenced by clang::ento::GRBugReporter::generatePathDiagnostic().

virtual StringRef clang::ento::PathDiagnosticConsumer::getName ( ) const [pure virtual]

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

Definition at line 106 of file PathDiagnostic.h.

Referenced by HandlePathDiagnostic().

Definition at line 102 of file PathDiagnostic.h.


Member Data Documentation

Definition at line 109 of file PathDiagnostic.h.

Referenced by FlushDiagnostics().


The documentation for this class was generated from the following files: