Abstract base class for recording a FileCheck diagnostic that provides an additional note (possibly a new error) about the most recent MatchResultDiag.
| Name | Description |
|---|---|
FileCheckDiag | Abstract base class for recording a FileCheck diagnostic for a pattern (e.g., CHECK-NEXT directive or --implicit-check-not). |
| Name | Description |
|---|---|
FileCheckDiagKind | Discriminator for concrete FileCheckDiag subclasses. |
| Name | Description |
|---|---|
MatchNoteDiag [constructor] | Construct a note diagnostic of the given Kind. |
~MatchNoteDiag [destructor] [virtual] | Destructor is purely virtual to ensure this remains an abstract class. |
getKind | Of what derived class is this an instance? |
getMatchRange [virtual] | Return the input range matched by this diagnostic, if any. |
getMatchResultDiag [virtual] | Get the note's associated MatchResultDiag. |
isError [virtual] | Does this diagnostic reveal a new error? |
setMatchResultDiag | Set the note's associated MatchResultDiag. |
| Name | Description |
|---|---|
classof | Is FCD an instance of MatchNoteDiag? |
| Name | Description |
|---|---|
MatchCustomNoteDiag | MatchNoteDiag with a custom note not described by any other class derived from MatchNoteDiag. |
MatchFuzzyDiag | MatchNoteDiag for a fuzzy match that serves as a suggestion for the next intended match for an expected pattern with too few or no good matches. |