|
clang
3.8.0
|
#include <PathDiagnostic.h>
Public Member Functions | |
| PathDiagnosticMacroPiece (const PathDiagnosticLocation &pos) | |
| ~PathDiagnosticMacroPiece () override | |
| bool | containsEvent () const |
| 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 |
Public Member Functions inherited from clang::ento::PathDiagnosticPiece | |
| ~PathDiagnosticPiece () override | |
| StringRef | getString () const |
| void | setTag (const char *tag) |
| Tag this PathDiagnosticPiece with the given C-string. More... | |
| const void * | getTag () const |
| Return the opaque tag (if any) on the PathDiagnosticPiece. More... | |
| StringRef | getTagStr () const |
| Return the string representation of the tag. More... | |
| DisplayHint | getDisplayHint () const |
| getDisplayHint - Return a hint indicating where the diagnostic should be displayed by the PathDiagnosticConsumer. More... | |
| Kind | getKind () const |
| void | addRange (SourceRange R) |
| void | addRange (SourceLocation B, SourceLocation E) |
| ArrayRef< SourceRange > | getRanges () const |
| Return the SourceRanges associated with this PathDiagnosticPiece. More... | |
| 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 } |
| 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 687 of file PathDiagnostic.h.
|
inline |
Definition at line 689 of file PathDiagnostic.h.
|
override |
Definition at line 62 of file PathDiagnostic.cpp.
|
inlinestatic |
Definition at line 704 of file PathDiagnostic.h.
References clang::ento::PathDiagnosticPiece::getKind(), and clang::ento::PathDiagnosticPiece::Macro.
| bool PathDiagnosticMacroPiece::containsEvent | ( | ) | const |
Definition at line 31 of file PathDiagnostic.cpp.
|
overridevirtual |
Implements clang::ento::PathDiagnosticPiece.
Definition at line 3515 of file BugReporter.cpp.
|
inlineoverridevirtual |
Reimplemented from clang::ento::PathDiagnosticSpotPiece.
Definition at line 698 of file PathDiagnostic.h.
References E, clang::ento::PathDiagnosticSpotPiece::flattenLocations(), I, and subPieces.
|
overridevirtual |
Reimplemented from clang::ento::PathDiagnosticSpotPiece.
Definition at line 1100 of file PathDiagnostic.cpp.
References E, I, and clang::ento::PathDiagnosticSpotPiece::Profile().
| PathPieces clang::ento::PathDiagnosticMacroPiece::subPieces |
Definition at line 694 of file PathDiagnostic.h.
Referenced by compareMacro(), containsEvent(), flattenLocations(), removeUnneededCalls(), and ReportMacro().
1.8.6