clang  6.0.0svn
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
clang::ento::PathDiagnosticConsumer Class Referenceabstract

#include "clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h"

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

Classes

class  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
 Return true if the PathDiagnosticConsumer supports individual PathDiagnostics that span multiple files. More...
 

Protected Attributes

bool flushed
 
llvm::FoldingSet< PathDiagnosticDiags
 

Detailed Description

Definition at line 55 of file PathDiagnostic.h.

Member Enumeration Documentation

◆ PathGenerationScheme

Enumerator
None 
Minimal 
Extensive 
AlternateExtensive 

Definition at line 104 of file PathDiagnostic.h.

Constructor & Destructor Documentation

◆ PathDiagnosticConsumer()

clang::ento::PathDiagnosticConsumer::PathDiagnosticConsumer ( )
inline

◆ ~PathDiagnosticConsumer()

PathDiagnosticConsumer::~PathDiagnosticConsumer ( )
virtual

Definition at line 183 of file PathDiagnostic.cpp.

Referenced by PathDiagnosticConsumer().

Member Function Documentation

◆ FlushDiagnostics()

void PathDiagnosticConsumer::FlushDiagnostics ( PathDiagnosticConsumer::FilesMade Files)

Definition at line 424 of file PathDiagnostic.cpp.

References compare().

Referenced by PathDiagnosticConsumer().

◆ FlushDiagnosticsImpl()

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

Referenced by PathDiagnosticConsumer().

◆ getGenerationScheme()

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

Definition at line 105 of file PathDiagnostic.h.

References Minimal.

◆ getName()

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

Referenced by PathDiagnosticConsumer().

◆ HandlePathDiagnostic()

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

Definition at line 191 of file PathDiagnostic.cpp.

References clang::ento::PathDiagnostic::path.

Referenced by PathDiagnosticConsumer().

◆ supportsCrossFileDiagnostics()

virtual bool clang::ento::PathDiagnosticConsumer::supportsCrossFileDiagnostics ( ) const
inlinevirtual

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

Definition at line 110 of file PathDiagnostic.h.

◆ supportsLogicalOpControlFlow()

virtual bool clang::ento::PathDiagnosticConsumer::supportsLogicalOpControlFlow ( ) const
inlinevirtual

Definition at line 106 of file PathDiagnostic.h.

Member Data Documentation

◆ Diags

llvm::FoldingSet<PathDiagnostic> clang::ento::PathDiagnosticConsumer::Diags
protected

Definition at line 114 of file PathDiagnostic.h.

Referenced by PathDiagnosticConsumer().

◆ flushed

bool clang::ento::PathDiagnosticConsumer::flushed
protected

Definition at line 113 of file PathDiagnostic.h.


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