clang API Documentation
#include <PathDiagnostic.h>
Public Member Functions | |
PathDiagnosticSpotPiece (const PathDiagnosticLocation &pos, StringRef s, PathDiagnosticPiece::Kind k, bool addPosRange=true) | |
PathDiagnosticLocation | getLocation () const override |
void | flattenLocations () override |
void | Profile (llvm::FoldingSetNodeID &ID) const override |
Static Public Member Functions | |
static bool | classof (const PathDiagnosticPiece *P) |
Definition at line 432 of file PathDiagnostic.h.
clang::ento::PathDiagnosticSpotPiece::PathDiagnosticSpotPiece | ( | const PathDiagnosticLocation & | pos, |
StringRef | s, | ||
PathDiagnosticPiece::Kind | k, | ||
bool | addPosRange = true |
||
) | [inline] |
Definition at line 436 of file PathDiagnostic.h.
References clang::ento::PathDiagnosticPiece::addRange(), clang::ento::PathDiagnosticLocation::asLocation(), clang::ento::PathDiagnosticLocation::asRange(), clang::ento::PathDiagnosticLocation::hasRange(), clang::SourceLocation::isValid(), and clang::ento::PathDiagnosticLocation::isValid().
static bool clang::ento::PathDiagnosticSpotPiece::classof | ( | const PathDiagnosticPiece * | P | ) | [inline, static] |
Reimplemented in clang::ento::PathDiagnosticMacroPiece, and clang::ento::PathDiagnosticEventPiece.
Definition at line 451 of file PathDiagnostic.h.
References clang::ento::PathDiagnosticPiece::Event, clang::ento::PathDiagnosticPiece::getKind(), and clang::ento::PathDiagnosticPiece::Macro.
void clang::ento::PathDiagnosticSpotPiece::flattenLocations | ( | ) | [inline, override, virtual] |
Implements clang::ento::PathDiagnosticPiece.
Reimplemented in clang::ento::PathDiagnosticMacroPiece.
Definition at line 447 of file PathDiagnostic.h.
References clang::ento::PathDiagnosticLocation::flatten().
PathDiagnosticLocation clang::ento::PathDiagnosticSpotPiece::getLocation | ( | ) | const [inline, override, virtual] |
Implements clang::ento::PathDiagnosticPiece.
Definition at line 446 of file PathDiagnostic.h.
Referenced by eventsDescribeSameCondition(), GenerateAlternateExtensivePathDiagnostic(), and GenerateExtensivePathDiagnostic().
void PathDiagnosticSpotPiece::Profile | ( | llvm::FoldingSetNodeID & | ID | ) | const [override, virtual] |
Reimplemented from clang::ento::PathDiagnosticPiece.
Reimplemented in clang::ento::PathDiagnosticMacroPiece.
Definition at line 1087 of file PathDiagnostic.cpp.
References clang::ento::PathDiagnosticPiece::Profile().
Referenced by clang::ento::PathDiagnosticMacroPiece::Profile().