|
clang 22.0.0git
|
#include "clang/Analysis/PathDiagnostic.h"
Public Member Functions | |
| PathDiagnosticMacroPiece (const PathDiagnosticLocation &pos) | |
| ~PathDiagnosticMacroPiece () override | |
| void | flattenLocations () override |
| void | dump () const override |
| void | Profile (llvm::FoldingSetNodeID &ID) const override |
| Public Member Functions inherited from clang::ento::PathDiagnosticSpotPiece | |
| 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 |
| Public Member Functions inherited from clang::ento::PathDiagnosticPiece | |
| 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. | |
| 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. | |
| void | setAsLastInMainSourceFile () |
| bool | isLastInMainSourceFile () const |
Static Public Member Functions | |
| static bool | classof (const PathDiagnosticPiece *P) |
| Static Public Member Functions inherited from clang::ento::PathDiagnosticSpotPiece | |
| static bool | classof (const PathDiagnosticPiece *P) |
Public Attributes | |
| PathPieces | subPieces |
Additional Inherited Members | |
| Public Types inherited from clang::ento::PathDiagnosticPiece | |
| enum | Kind { ControlFlow , Event , Macro , Call , Note , PopUp } |
| enum | DisplayHint { Above , Below } |
| Protected Member Functions inherited from clang::ento::PathDiagnosticPiece | |
| PathDiagnosticPiece (StringRef s, Kind k, DisplayHint hint=Below) | |
| PathDiagnosticPiece (Kind k, DisplayHint hint=Below) | |
Definition at line 702 of file PathDiagnostic.h.
|
inline |
Definition at line 704 of file PathDiagnostic.h.
References clang::ento::PathDiagnosticPiece::Macro, and clang::ento::PathDiagnosticSpotPiece::PathDiagnosticSpotPiece().
|
overridedefault |
|
inlinestatic |
Definition at line 716 of file PathDiagnostic.h.
References clang::ento::PathDiagnosticPiece::getKind(), and clang::ento::PathDiagnosticPiece::Macro.
|
overridevirtual |
Implements clang::ento::PathDiagnosticPiece.
Definition at line 1195 of file PathDiagnostic.cpp.
|
inlineoverridevirtual |
Implements clang::ento::PathDiagnosticPiece.
Definition at line 710 of file PathDiagnostic.h.
References clang::ento::PathDiagnosticSpotPiece::flattenLocations(), and subPieces.
|
overridevirtual |
Reimplemented from clang::ento::PathDiagnosticPiece.
Definition at line 1131 of file PathDiagnostic.cpp.
References clang::ento::PathDiagnosticSpotPiece::Profile(), and subPieces.
| PathPieces clang::ento::PathDiagnosticMacroPiece::subPieces |
Definition at line 708 of file PathDiagnostic.h.
Referenced by compareMacro(), flattenLocations(), and Profile().