79 bool supportCommandLinePragma;
82 std::optional<CommandLineOptions> tryToParse(
const IR::Annotation *annotation)
override;
84 explicit P4COptionPragmaParser(
bool supportCommandLinePragma)
85 : supportCommandLinePragma(supportCommandLinePragma) {}
88 std::optional<CommandLineOptions> parseDiagnostic(
const IR::Annotation *annotation);
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24