This is an archive of the discontinued LLVM Phabricator instance.

[NFC][flang][OpenMP] Fixes formatting issues with D110714
ClosedPublic

Authored by NimishMishra on Mar 8 2022, 12:05 AM.

Diff Detail

Event Timeline

NimishMishra created this revision.Mar 8 2022, 12:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 8 2022, 12:05 AM
NimishMishra requested review of this revision.Mar 8 2022, 12:05 AM
Herald added a project: Restricted Project. · View Herald Transcript
peixin added inline comments.Mar 8 2022, 4:52 AM
flang/lib/Semantics/check-omp-structure.cpp
1348

Please check other code. This should be like the following (if not exceeding 80 columns):

"Atomic update variable '%s' not found in the RHS of the assignment "
"statement in an ATOMIC (UPDATE) construct"_err_en_US, variableName);
shraiysh accepted this revision.Mar 8 2022, 6:17 AM

LGTM

This revision is now accepted and ready to land.Mar 8 2022, 6:17 AM

@peixin The patch is ready for review. @shraiysh and I discussed on the reasons why clang-format checks passed on the previous patch. We think this might be a bug with clang-format that it didn't automatically break a >80 column string into two shorter strings (neither threw clang-format check failures while running checks).

peixin accepted this revision.Mar 8 2022, 4:56 PM

LGTM