Skip to content

Commit 5e75f73

Browse files
committed
clang-format
1 parent 727a977 commit 5e75f73

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

flang/lib/Parser/message.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ void Message::Emit(llvm::raw_ostream &o, const AllCookedSources &allCooked,
283283
sources.EmitMessage(o, provenanceRange, ToString(), Prefix(severity()),
284284
PrefixColor(severity()), echoSourceLine);
285285
// Refers to whether the attachment in the loop below is a context, but can't
286-
// be declared inside the loop because the previous iteration's
286+
// be declared inside the loop because the previous iteration's
287287
// attachment->attachmentIsContext_ indicates this.
288288
bool isContext{attachmentIsContext_};
289289
int contextsEmitted{0};

flang/lib/Parser/openacc-parsers.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,12 +234,12 @@ TYPE_PARSER(startAccLine >> sourced(construct<AccEndBlockDirective>("END"_tok >>
234234

235235
TYPE_PARSER(construct<OpenACCBlockConstruct>(
236236
Parser<AccBeginBlockDirective>{} / endAccLine, block,
237-
// NB, This allows mismatched directives, but semantics checks that they match.
237+
// NB, This allows mismatched directives, but semantics checks that they
238+
// match.
238239
recovery(withMessage("expected OpenACC end block directive"_err_en_US,
239240
attempt(Parser<AccEndBlockDirective>{} / endAccLine)),
240-
construct<AccEndBlockDirective>(
241-
construct<AccBlockDirective>(pure(
242-
llvm::acc::Directive::ACCD_data))))))
241+
construct<AccEndBlockDirective>(construct<AccBlockDirective>(
242+
pure(llvm::acc::Directive::ACCD_data))))))
243243

244244
// Standalone constructs
245245
TYPE_PARSER(construct<OpenACCStandaloneConstruct>(

0 commit comments

Comments
 (0)