struct Suggestion

Defined at line 20 of file ../../tools/fidl/fidlc/src/findings.h

A suggested change to address a linter |Finding|, with a human language

description of the suggestion, and one or more potential |Replacement|

values for referenced parts of the source.

Public Methods

void Suggestion (std::string description)

Defined at line 22 of file ../../tools/fidl/fidlc/src/findings.h

void Suggestion (std::string description, std::string replacement)

Defined at line 24 of file ../../tools/fidl/fidlc/src/findings.h

void Suggestion (Suggestion && rhs)

Enable move construction and assignment

Defined at line 28 of file ../../tools/fidl/fidlc/src/findings.h

Suggestion & operator= (Suggestion && )

Defined at line 29 of file ../../tools/fidl/fidlc/src/findings.h

void Suggestion (const Suggestion & )

Enable copy and assign

Defined at line 32 of file ../../tools/fidl/fidlc/src/findings.h

Suggestion & operator= (const Suggestion & )

Defined at line 33 of file ../../tools/fidl/fidlc/src/findings.h

const std::string & description ()

Describes the suggestion in human terms.

Defined at line 36 of file ../../tools/fidl/fidlc/src/findings.h

const std::optional<std::string> & replacement ()

Defined at line 37 of file ../../tools/fidl/fidlc/src/findings.h