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