diff options
author | Tim Keith <tkeith@nvidia.com> | 2020-03-28 21:00:16 -0700 |
---|---|---|
committer | Tim Keith <tkeith@nvidia.com> | 2020-03-28 21:00:16 -0700 |
commit | 1f8790050b0e99e7b46cc69518aa84f46f50738e (patch) | |
tree | 4c635d7122bb81422fdb24f3b21f05b73b298e5f /flang/lib/Parser/executable-parsers.cpp | |
parent | 10b1addcefef8193cee86876fdd669ff647c284c (diff) | |
download | llvm-1f8790050b0e99e7b46cc69518aa84f46f50738e.zip llvm-1f8790050b0e99e7b46cc69518aa84f46f50738e.tar.gz llvm-1f8790050b0e99e7b46cc69518aa84f46f50738e.tar.bz2 |
[flang] Reformat with latest clang-format and .clang-format
Original-commit: flang-compiler/f18@9fe84f45d7fd685051004678d6b5775dcc4c6f8f
Reviewed-on: https://github.com/flang-compiler/f18/pull/1094
Diffstat (limited to 'flang/lib/Parser/executable-parsers.cpp')
-rw-r--r-- | flang/lib/Parser/executable-parsers.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/flang/lib/Parser/executable-parsers.cpp b/flang/lib/Parser/executable-parsers.cpp index df1e7ba..160b2dc 100644 --- a/flang/lib/Parser/executable-parsers.cpp +++ b/flang/lib/Parser/executable-parsers.cpp @@ -121,7 +121,7 @@ TYPE_PARSER(first(construct<ActionStmt>(indirect(Parser<AllocateStmt>{})), construct<ActionStmt>(indirect(Parser<ReadStmt>{})), construct<ActionStmt>(indirect(Parser<ReturnStmt>{})), construct<ActionStmt>(indirect(Parser<RewindStmt>{})), - construct<ActionStmt>(indirect(Parser<StopStmt>{})), // & error-stop-stmt + construct<ActionStmt>(indirect(Parser<StopStmt>{})), // & error-stop-stmt construct<ActionStmt>(indirect(Parser<SyncAllStmt>{})), construct<ActionStmt>(indirect(Parser<SyncImagesStmt>{})), construct<ActionStmt>(indirect(Parser<SyncMemoryStmt>{})), @@ -163,7 +163,7 @@ TYPE_PARSER(construct<EndAssociateStmt>( // block-stmt [block-specification-part] block end-block-stmt TYPE_CONTEXT_PARSER("BLOCK construct"_en_US, construct<BlockConstruct>(statement(Parser<BlockStmt>{}), - Parser<BlockSpecificationPart>{}, // can be empty + Parser<BlockSpecificationPart>{}, // can be empty block, statement(Parser<EndBlockStmt>{}))) // R1108 block-stmt -> [block-construct-name :] BLOCK @@ -522,4 +522,4 @@ TYPE_CONTEXT_PARSER("UNLOCK statement"_en_US, construct<UnlockStmt>("UNLOCK (" >> lockVariable, defaulted("," >> nonemptyList(statOrErrmsg)) / ")")) -} +} // namespace Fortran::parser |