MatchNoteDiag with a custom note not described by any other class derived from MatchNoteDiag.

Synopsis

Declared in <llvm/FileCheck/FileCheck.h>

class MatchCustomNoteDiag
    : public MatchNoteDiag

Base Classes

Name

Description

MatchNoteDiag

Abstract base class for recording a FileCheck diagnostic that provides an additional note (possibly a new error) about the most recent MatchResultDiag.

Enums

Name

Description

FileCheckDiagKind

Discriminator for concrete FileCheckDiag subclasses.

Member Functions

Name

Description

MatchCustomNoteDiag [constructor]

Constructors

getKind

Of what derived class is this an instance?

getMatchRange [virtual]

Return the match range described by the note, or std::nullopt if none.

getMatchResultDiag [virtual]

Get the note's associated MatchResultDiag.

getNote

Return the custom note text.

isError [virtual]

Does this note indicate an additional error not indicated by the associated MatchResultDiag?

setMatchResultDiag

Set the note's associated MatchResultDiag.

Static Member Functions

Name

Description

classof

Is FCD an instance of MatchCustomNoteDiag?

Created with MrDocs