clang API Documentation

Public Types | Public Member Functions | Static Public Member Functions
clang::ento::PathDiagnosticControlFlowPiece Class Reference

#include <PathDiagnostic.h>

Inheritance diagram for clang::ento::PathDiagnosticControlFlowPiece:
Inheritance graph
[legend]
Collaboration diagram for clang::ento::PathDiagnosticControlFlowPiece:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::vector
< PathDiagnosticLocationPair >
::iterator 
iterator
typedef std::vector
< PathDiagnosticLocationPair >
::const_iterator 
const_iterator

Public Member Functions

 PathDiagnosticControlFlowPiece (const PathDiagnosticLocation &startPos, const PathDiagnosticLocation &endPos, StringRef s)
 PathDiagnosticControlFlowPiece (const PathDiagnosticLocation &startPos, const PathDiagnosticLocation &endPos)
 ~PathDiagnosticControlFlowPiece ()
PathDiagnosticLocation getStartLocation () const
PathDiagnosticLocation getEndLocation () const
void setStartLocation (const PathDiagnosticLocation &L)
void setEndLocation (const PathDiagnosticLocation &L)
void push_back (const PathDiagnosticLocationPair &X)
PathDiagnosticLocation getLocation () const override
iterator begin ()
iterator end ()
void flattenLocations () override
const_iterator begin () const
const_iterator end () const
void dump () const override
void Profile (llvm::FoldingSetNodeID &ID) const override

Static Public Member Functions

static bool classof (const PathDiagnosticPiece *P)

Detailed Description

Definition at line 618 of file PathDiagnostic.h.


Member Typedef Documentation

Definition at line 671 of file PathDiagnostic.h.

Definition at line 662 of file PathDiagnostic.h.


Constructor & Destructor Documentation

Definition at line 621 of file PathDiagnostic.h.

Definition at line 628 of file PathDiagnostic.h.

Definition at line 61 of file PathDiagnostic.cpp.


Member Function Documentation

Definition at line 663 of file PathDiagnostic.h.

Referenced by flattenLocations(), and ReportControlFlow().

Definition at line 672 of file PathDiagnostic.h.

void PathDiagnosticControlFlowPiece::dump ( ) const [override, virtual]

Implements clang::ento::PathDiagnosticPiece.

Definition at line 3520 of file BugReporter.cpp.

Definition at line 664 of file PathDiagnostic.h.

Referenced by flattenLocations(), and ReportControlFlow().

Definition at line 673 of file PathDiagnostic.h.

Implements clang::ento::PathDiagnosticPiece.

Definition at line 666 of file PathDiagnostic.h.

References begin(), and end().

Implements clang::ento::PathDiagnosticPiece.

Definition at line 658 of file PathDiagnostic.h.

References getStartLocation().

void PathDiagnosticControlFlowPiece::Profile ( llvm::FoldingSetNodeID &  ID) const [override, virtual]

Reimplemented from clang::ento::PathDiagnosticPiece.

Definition at line 1092 of file PathDiagnostic.cpp.

References clang::ento::PathDiagnosticPiece::Profile().

Definition at line 656 of file PathDiagnostic.h.

Definition at line 652 of file PathDiagnostic.h.

Referenced by addContextEdges(), and optimizeEdges().

Definition at line 648 of file PathDiagnostic.h.

Referenced by addContextEdges(), and simplifySimpleBranches().


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