clang
3.7.0
|
#include <PathDiagnostic.h>
Static Public Member Functions | |
static PathDiagnosticCallPiece * | construct (const ExplodedNode *N, const CallExitEnd &CE, const SourceManager &SM) |
static PathDiagnosticCallPiece * | construct (PathPieces &pieces, const Decl *caller) |
static bool | classof (const PathDiagnosticPiece *P) |
Public Attributes | |
PathDiagnosticLocation | callEnter |
PathDiagnosticLocation | callEnterWithin |
PathDiagnosticLocation | callReturn |
PathPieces | path |
Additional Inherited Members | |
![]() | |
enum | Kind { ControlFlow, Event, Macro, Call } |
enum | DisplayHint { Above, Below } |
![]() | |
PathDiagnosticPiece (StringRef s, Kind k, DisplayHint hint=Below) | |
PathDiagnosticPiece (Kind k, DisplayHint hint=Below) | |
Definition at line 551 of file PathDiagnostic.h.
|
override |
Definition at line 60 of file PathDiagnostic.cpp.
|
inlinestatic |
Definition at line 617 of file PathDiagnostic.h.
References clang::ento::PathDiagnosticPiece::Call, and clang::ento::PathDiagnosticPiece::getKind().
|
static |
Definition at line 886 of file PathDiagnostic.cpp.
References clang::CallExitEnd::getCalleeContext(), clang::LocationContext::getDecl(), clang::ProgramPoint::getLocationContext(), getLocationForCaller(), and SM.
Referenced by GenerateAlternateExtensivePathDiagnostic(), GenerateExtensivePathDiagnostic(), and GenerateMinimalPathDiagnostic().
|
static |
Definition at line 897 of file PathDiagnostic.cpp.
References AttributeLangSupport::C.
|
overridevirtual |
Implements clang::ento::PathDiagnosticPiece.
Definition at line 3488 of file BugReporter.cpp.
References clang::ento::PathDiagnosticLocation::dump(), clang::ento::BugReport::getLocation(), and getLocStmt().
|
inlineoverridevirtual |
Implements clang::ento::PathDiagnosticPiece.
Definition at line 599 of file PathDiagnostic.h.
References callEnter, callReturn, clang::ento::PathDiagnosticLocation::flatten(), and path.
|
inline |
Definition at line 582 of file PathDiagnostic.h.
Referenced by adjustCallLocations().
IntrusiveRefCntPtr< PathDiagnosticEventPiece > PathDiagnosticCallPiece::getCallEnterEvent | ( | ) | const |
Definition at line 985 of file PathDiagnostic.cpp.
References describeCodeDecl().
Referenced by ReportCall().
IntrusiveRefCntPtr< PathDiagnosticEventPiece > PathDiagnosticCallPiece::getCallEnterWithinCallerEvent | ( | ) | const |
Definition at line 1000 of file PathDiagnostic.cpp.
References describeCodeDecl().
Referenced by ReportCall().
|
inline |
Definition at line 580 of file PathDiagnostic.h.
Referenced by adjustCallLocations().
IntrusiveRefCntPtr< PathDiagnosticEventPiece > PathDiagnosticCallPiece::getCallExitEvent | ( | ) | const |
Definition at line 1019 of file PathDiagnostic.cpp.
References describeCodeDecl().
Referenced by ReportCall().
|
inlineoverridevirtual |
Implements clang::ento::PathDiagnosticPiece.
Definition at line 590 of file PathDiagnostic.h.
References callEnter.
Referenced by GenerateAlternateExtensivePathDiagnostic(), and GenerateExtensivePathDiagnostic().
|
inline |
Definition at line 585 of file PathDiagnostic.h.
Referenced by updateStackPiecesWithMessage().
|
overridevirtual |
Reimplemented from clang::ento::PathDiagnosticPiece.
Definition at line 1083 of file PathDiagnostic.cpp.
References clang::ento::PathDiagnosticPiece::Profile().
void PathDiagnosticCallPiece::setCallee | ( | const CallEnter & | CE, |
const SourceManager & | SM | ||
) |
Definition at line 905 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().
|
inline |
Definition at line 586 of file PathDiagnostic.h.
Referenced by updateStackPiecesWithMessage().
PathDiagnosticLocation clang::ento::PathDiagnosticCallPiece::callEnter |
Definition at line 573 of file PathDiagnostic.h.
Referenced by adjustCallLocations(), compareCall(), flattenLocations(), getFirstStackedCallToHeaderFile(), and getLocation().
PathDiagnosticLocation clang::ento::PathDiagnosticCallPiece::callEnterWithin |
Definition at line 574 of file PathDiagnostic.h.
Referenced by adjustCallLocations(), compareCall(), and getFirstStackedCallToHeaderFile().
PathDiagnosticLocation clang::ento::PathDiagnosticCallPiece::callReturn |
Definition at line 575 of file PathDiagnostic.h.
Referenced by adjustCallLocations(), compareCall(), flattenLocations(), GenerateAlternateExtensivePathDiagnostic(), and GenerateExtensivePathDiagnostic().
PathPieces clang::ento::PathDiagnosticCallPiece::path |
Definition at line 576 of file PathDiagnostic.h.
Referenced by adjustCallLocations(), compareCall(), flattenLocations(), GenerateAlternateExtensivePathDiagnostic(), GenerateExtensivePathDiagnostic(), GenerateMinimalPathDiagnostic(), getFirstStackedCallToHeaderFile(), removeUnneededCalls(), and ReportCall().