clang API Documentation

Public Member Functions | Static Public Member Functions | Public Attributes
clang::ento::PathDiagnosticCallPiece Class Reference

#include <PathDiagnostic.h>

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

List of all members.

Public Member Functions

virtual ~PathDiagnosticCallPiece ()
const DeclgetCaller () const
const DeclgetCallee () const
void setCallee (const CallEnter &CE, const SourceManager &SM)
bool hasCallStackMessage ()
void setCallStackMessage (StringRef st)
PathDiagnosticLocation getLocation () const override
IntrusiveRefCntPtr
< PathDiagnosticEventPiece
getCallEnterEvent () const
IntrusiveRefCntPtr
< PathDiagnosticEventPiece
getCallEnterWithinCallerEvent () const
IntrusiveRefCntPtr
< PathDiagnosticEventPiece
getCallExitEvent () const
void flattenLocations () override
void dump () const override
void Profile (llvm::FoldingSetNodeID &ID) const override

Static Public Member Functions

static PathDiagnosticCallPiececonstruct (const ExplodedNode *N, const CallExitEnd &CE, const SourceManager &SM)
static PathDiagnosticCallPiececonstruct (PathPieces &pieces, const Decl *caller)
static bool classof (const PathDiagnosticPiece *P)

Public Attributes

PathDiagnosticLocation callEnter
PathDiagnosticLocation callEnterWithin
PathDiagnosticLocation callReturn
PathPieces path

Detailed Description

Definition at line 547 of file PathDiagnostic.h.


Constructor & Destructor Documentation

Definition at line 60 of file PathDiagnostic.cpp.


Member Function Documentation

PathDiagnosticCallPiece * PathDiagnosticCallPiece::construct ( const ExplodedNode N,
const CallExitEnd CE,
const SourceManager SM 
) [static]
PathDiagnosticCallPiece * PathDiagnosticCallPiece::construct ( PathPieces pieces,
const Decl caller 
) [static]

Definition at line 893 of file PathDiagnostic.cpp.

References AttributeLangSupport::C.

void PathDiagnosticCallPiece::dump ( ) const [override, virtual]
void clang::ento::PathDiagnosticCallPiece::flattenLocations ( ) [inline, override, virtual]

Definition at line 578 of file PathDiagnostic.h.

Referenced by adjustCallLocations().

Definition at line 981 of file PathDiagnostic.cpp.

References describeCodeDecl().

Referenced by ReportCall().

Definition at line 996 of file PathDiagnostic.cpp.

References describeCodeDecl().

Referenced by ReportCall().

Definition at line 576 of file PathDiagnostic.h.

Referenced by adjustCallLocations().

Definition at line 1015 of file PathDiagnostic.cpp.

References describeCodeDecl().

Referenced by ReportCall().

Definition at line 581 of file PathDiagnostic.h.

Referenced by updateStackPiecesWithMessage().

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

Reimplemented from clang::ento::PathDiagnosticPiece.

Definition at line 1079 of file PathDiagnostic.cpp.

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

void PathDiagnosticCallPiece::setCallee ( const CallEnter CE,
const SourceManager SM 
)

Definition at line 582 of file PathDiagnostic.h.

Referenced by updateStackPiecesWithMessage().


Member Data Documentation


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