clang: clang::ento::PathDiagnosticPopUpPiece Class Reference (original) (raw)
#include "[clang/Analysis/PathDiagnostic.h](PathDiagnostic%5F8h%5Fsource.html)"
Public Member Functions | |
---|---|
PathDiagnosticPopUpPiece (const PathDiagnosticLocation &Pos, StringRef S, bool AddPosRange=true) | |
~PathDiagnosticPopUpPiece () override | |
void | dump () const override |
void | Profile (llvm::FoldingSetNodeID &ID) const override |
![]() |
|
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 |
![]() |
|
PathDiagnosticPiece ()=delete | |
PathDiagnosticPiece (const PathDiagnosticPiece &)=delete | |
PathDiagnosticPiece & | operator= (const PathDiagnosticPiece &)=delete |
virtual | ~PathDiagnosticPiece () |
StringRef | getString () const |
void | setTag (const char *tag) |
Tag this PathDiagnosticPiece with the given C-string. | |
const void * | getTag () const |
Return the opaque tag (if any) on the PathDiagnosticPiece. | |
StringRef | getTagStr () const |
Return the string representation of the tag. | |
DisplayHint | getDisplayHint () const |
getDisplayHint - Return a hint indicating where the diagnostic should be displayed by the PathDiagnosticConsumer. | |
virtual PathDiagnosticLocation | getLocation () const =0 |
virtual void | flattenLocations ()=0 |
Kind | getKind () const |
void | addRange (SourceRange R) |
void | addRange (SourceLocation B, SourceLocation E) |
void | addFixit (FixItHint F) |
ArrayRef< SourceRange > | getRanges () const |
Return the SourceRanges associated with this PathDiagnosticPiece. | |
ArrayRef< FixItHint > | getFixits () const |
Return the fix-it hints associated with this PathDiagnosticPiece. | |
virtual void | Profile (llvm::FoldingSetNodeID &ID) const |
void | setAsLastInMainSourceFile () |
bool | isLastInMainSourceFile () const |
virtual void | dump () const =0 |
Static Public Member Functions | |
---|---|
static bool | classof (const PathDiagnosticPiece *P) |
![]() |
|
static bool | classof (const PathDiagnosticPiece *P) |
Additional Inherited Members | |
---|---|
![]() |
|
enum | Kind { ControlFlow, Event, Macro, Call, Note, PopUp } |
enum | DisplayHint { Above, Below } |
![]() |
|
PathDiagnosticPiece (StringRef s, Kind k, DisplayHint hint=Below) | |
PathDiagnosticPiece (Kind k, DisplayHint hint=Below) | |
Definition at line 741 of file PathDiagnostic.h.
◆ ~PathDiagnosticPopUpPiece()
PathDiagnosticPopUpPiece::~PathDiagnosticPopUpPiece ( ) | overridedefault |
---|
◆ classof()
◆ dump()
LLVM_DUMP_METHOD void PathDiagnosticPopUpPiece::dump ( ) const | overridevirtual |
---|
◆ Profile()
void PathDiagnosticPopUpPiece::Profile ( llvm::FoldingSetNodeID & ID) const | overridevirtual |
---|
The documentation for this class was generated from the following files:
- include/clang/Analysis/PathDiagnostic.h
- lib/Analysis/PathDiagnostic.cpp