clang API Documentation
#include <PathDiagnostic.h>
Definition at line 547 of file PathDiagnostic.h.
PathDiagnosticCallPiece::~PathDiagnosticCallPiece | ( | ) | [virtual] |
Definition at line 60 of file PathDiagnostic.cpp.
static bool clang::ento::PathDiagnosticCallPiece::classof | ( | const PathDiagnosticPiece * | P | ) | [inline, static] |
Definition at line 613 of file PathDiagnostic.h.
References clang::ento::PathDiagnosticPiece::Call, and clang::ento::PathDiagnosticPiece::getKind().
PathDiagnosticCallPiece * PathDiagnosticCallPiece::construct | ( | const ExplodedNode * | N, |
const CallExitEnd & | CE, | ||
const SourceManager & | SM | ||
) | [static] |
Definition at line 882 of file PathDiagnostic.cpp.
References clang::CallExitEnd::getCalleeContext(), clang::LocationContext::getDecl(), clang::ProgramPoint::getLocationContext(), getLocationForCaller(), and SM.
Referenced by GenerateAlternateExtensivePathDiagnostic(), GenerateExtensivePathDiagnostic(), and GenerateMinimalPathDiagnostic().
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] |
Implements clang::ento::PathDiagnosticPiece.
Definition at line 3502 of file BugReporter.cpp.
References clang::ento::PathDiagnosticLocation::dump(), clang::ento::BugReport::getLocation(), and getLocStmt().
void clang::ento::PathDiagnosticCallPiece::flattenLocations | ( | ) | [inline, override, virtual] |
Implements clang::ento::PathDiagnosticPiece.
Definition at line 595 of file PathDiagnostic.h.
References callEnter, callReturn, clang::ento::PathDiagnosticLocation::flatten(), and path.
const Decl* clang::ento::PathDiagnosticCallPiece::getCallee | ( | ) | const [inline] |
Definition at line 578 of file PathDiagnostic.h.
Referenced by adjustCallLocations().
IntrusiveRefCntPtr< PathDiagnosticEventPiece > PathDiagnosticCallPiece::getCallEnterEvent | ( | ) | const |
Definition at line 981 of file PathDiagnostic.cpp.
References describeCodeDecl().
Referenced by ReportCall().
IntrusiveRefCntPtr< PathDiagnosticEventPiece > PathDiagnosticCallPiece::getCallEnterWithinCallerEvent | ( | ) | const |
Definition at line 996 of file PathDiagnostic.cpp.
References describeCodeDecl().
Referenced by ReportCall().
const Decl* clang::ento::PathDiagnosticCallPiece::getCaller | ( | ) | const [inline] |
Definition at line 576 of file PathDiagnostic.h.
Referenced by adjustCallLocations().
IntrusiveRefCntPtr< PathDiagnosticEventPiece > PathDiagnosticCallPiece::getCallExitEvent | ( | ) | const |
Definition at line 1015 of file PathDiagnostic.cpp.
References describeCodeDecl().
Referenced by ReportCall().
PathDiagnosticLocation clang::ento::PathDiagnosticCallPiece::getLocation | ( | ) | const [inline, override, virtual] |
Implements clang::ento::PathDiagnosticPiece.
Definition at line 586 of file PathDiagnostic.h.
References callEnter.
Referenced by GenerateAlternateExtensivePathDiagnostic(), and GenerateExtensivePathDiagnostic().
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 901 of file PathDiagnostic.cpp.
References clang::ento::PathDiagnosticLocation::createBegin(), clang::CallEnter::getCalleeContext(), clang::LocationContext::getDecl(), clang::ProgramPoint::getLocationContext(), getLocationForCaller(), and SM.
Referenced by GenerateAlternateExtensivePathDiagnostic(), GenerateExtensivePathDiagnostic(), and GenerateMinimalPathDiagnostic().
void clang::ento::PathDiagnosticCallPiece::setCallStackMessage | ( | StringRef | st | ) | [inline] |
Definition at line 582 of file PathDiagnostic.h.
Referenced by updateStackPiecesWithMessage().
Definition at line 569 of file PathDiagnostic.h.
Referenced by adjustCallLocations(), compareCall(), flattenLocations(), getFirstStackedCallToHeaderFile(), and getLocation().
Definition at line 570 of file PathDiagnostic.h.
Referenced by adjustCallLocations(), compareCall(), and getFirstStackedCallToHeaderFile().
Definition at line 571 of file PathDiagnostic.h.
Referenced by adjustCallLocations(), compareCall(), flattenLocations(), GenerateAlternateExtensivePathDiagnostic(), and GenerateExtensivePathDiagnostic().
Definition at line 572 of file PathDiagnostic.h.
Referenced by adjustCallLocations(), compareCall(), flattenLocations(), GenerateAlternateExtensivePathDiagnostic(), GenerateExtensivePathDiagnostic(), GenerateMinimalPathDiagnostic(), getFirstStackedCallToHeaderFile(), removeUnneededCalls(), and ReportCall().