Skip to content

Commit 6725e69

Browse files
Fix formatting
1 parent d8e85e0 commit 6725e69

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

flang/lib/Parser/openmp-parsers.cpp

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,27 +1300,27 @@ TYPE_PARSER(sourced(construct<OpenMPDeclarativeAssumes>(
13001300
verbatim("ASSUMES"_tok), Parser<OmpClauseList>{})))
13011301

13021302
// Declarative constructs
1303-
TYPE_PARSER(startOmpLine >>
1304-
withMessage("expected OpenMP construct"_err_en_US,
1305-
sourced(construct<OpenMPDeclarativeConstruct>(
1306-
Parser<OpenMPDeclarativeAssumes>{}) ||
1307-
construct<OpenMPDeclarativeConstruct>(
1308-
Parser<OpenMPDeclareReductionConstruct>{}) ||
1309-
construct<OpenMPDeclarativeConstruct>(
1310-
Parser<OpenMPDeclareMapperConstruct>{}) ||
1311-
construct<OpenMPDeclarativeConstruct>(
1312-
Parser<OpenMPDeclareSimdConstruct>{}) ||
1313-
construct<OpenMPDeclarativeConstruct>(
1314-
Parser<OpenMPDeclareTargetConstruct>{}) ||
1315-
construct<OpenMPDeclarativeConstruct>(
1316-
Parser<OpenMPDeclarativeAllocate>{}) ||
1317-
construct<OpenMPDeclarativeConstruct>(
1318-
Parser<OpenMPRequiresConstruct>{}) ||
1319-
construct<OpenMPDeclarativeConstruct>(
1320-
Parser<OpenMPThreadprivate>{}) ||
1321-
construct<OpenMPDeclarativeConstruct>(
1322-
Parser<OpenMPUtilityConstruct>{})) /
1323-
endOmpLine))
1303+
TYPE_PARSER(
1304+
startOmpLine >> withMessage("expected OpenMP construct"_err_en_US,
1305+
sourced(construct<OpenMPDeclarativeConstruct>(
1306+
Parser<OpenMPDeclarativeAssumes>{}) ||
1307+
construct<OpenMPDeclarativeConstruct>(
1308+
Parser<OpenMPDeclareReductionConstruct>{}) ||
1309+
construct<OpenMPDeclarativeConstruct>(
1310+
Parser<OpenMPDeclareMapperConstruct>{}) ||
1311+
construct<OpenMPDeclarativeConstruct>(
1312+
Parser<OpenMPDeclareSimdConstruct>{}) ||
1313+
construct<OpenMPDeclarativeConstruct>(
1314+
Parser<OpenMPDeclareTargetConstruct>{}) ||
1315+
construct<OpenMPDeclarativeConstruct>(
1316+
Parser<OpenMPDeclarativeAllocate>{}) ||
1317+
construct<OpenMPDeclarativeConstruct>(
1318+
Parser<OpenMPRequiresConstruct>{}) ||
1319+
construct<OpenMPDeclarativeConstruct>(
1320+
Parser<OpenMPThreadprivate>{}) ||
1321+
construct<OpenMPDeclarativeConstruct>(
1322+
Parser<OpenMPUtilityConstruct>{})) /
1323+
endOmpLine))
13241324

13251325
// Assume Construct
13261326
TYPE_PARSER(sourced(construct<OmpAssumeDirective>(

0 commit comments

Comments
 (0)