Skip to content

Commit 00e6f06

Browse files
committed
format
1 parent bf56b8c commit 00e6f06

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

flang/lib/Parser/openmp-parsers.cpp

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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

10061006
TYPE_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

10271026
TYPE_PARSER(sourced(construct<OmpNothingDirective>("NOTHING" >> ok)))
10281027

flang/lib/Parser/unparse.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2102,7 +2102,7 @@ class UnparseVisitor {
21022102
Put(")");
21032103
}
21042104
}};
2105-
auto unparseClauses{[&]() {
2105+
auto unparseClauses{[&]() { //
21062106
Walk(std::get<std::optional<OmpClauseList>>(x.t));
21072107
}};
21082108

0 commit comments

Comments
 (0)