@@ -995,17 +995,17 @@ TYPE_PARSER(sourced(construct<OmpErrorDirective>(
995995
996996// --- Parsers for directives and constructs --------------------------
997997
998- OmpDirectiveSpecification static makeFlushFromOldSyntax1(
999- Verbatim &&text, std::optional<OmpClauseList> &&clauses,
998+ OmpDirectiveSpecification static makeFlushFromOldSyntax1(Verbatim &&text,
999+ std::optional<OmpClauseList> &&clauses,
10001000 std::optional<std::list<OmpArgument>> &&args,
10011001 OmpDirectiveSpecification::Flags &&flags) {
10021002 return OmpDirectiveSpecification{OmpDirectiveName(text), std::move(args),
1003- std::move(clauses), std::move(flags)};
1003+ std::move(clauses), std::move(flags)};
10041004}
10051005
10061006TYPE_PARSER(sourced(
10071007 // Parse the old syntax: FLUSH [clauses] [(objects)]
1008- construct<OmpDirectiveSpecification>( //
1008+ construct<OmpDirectiveSpecification>(
10091009 // Force this old-syntax parser to fail for FLUSH followed by '('.
10101010 // Otherwise it could succeed on the new syntax but have one of
10111011 // lists absent in the parsed result.
@@ -1021,8 +1021,7 @@ TYPE_PARSER(sourced(
10211021 sourced(OmpDirectiveNameParser{}),
10221022 maybe(parenthesized(nonemptyList(Parser<OmpArgument>{}))),
10231023 maybe(Parser<OmpClauseList>{}),
1024- pure(OmpDirectiveSpecification::Flags::None))
1025- ))
1024+ pure(OmpDirectiveSpecification::Flags::None))))
10261025
10271026TYPE_PARSER(sourced(construct<OmpNothingDirective>("NOTHING" >> ok)))
10281027
0 commit comments