This patch implements the following semantic check:
A list-item cannot appear in more than one nontemporal clause.
Differential D110270
[flang][OpenMP] Check for occurrence of multiple list items in nontemporal clause for simd directive Authored by arnamoy10 on Sep 22 2021, 10:22 AM.
Details This patch implements the following semantic check: A list-item cannot appear in more than one nontemporal clause.
Diff Detail Event TimelineComment Actions Thanks @arnamoy10 for this patch. A few comments.
Comment Actions Addressing reviewers comments:
Comment Actions Patch LGTM (once @kiranchandramohan's comments have been addressed ). Please run git-clang-format HEAD~ to format.
Comment Actions @shraiysh Thanks for the comments. I have already addressed @kiranchandramohan 's comments as much as I could. If you are OK, can you please accept this patch, because Kiran might be busy. Thank you | ||||||||||||||||||||||||||||||||||||
clang-format: please reformat the code
- auto checkMultipleOcurrence = [&](const std::list<parser::Name>& nameList, const parser::CharBlock& item, const std::string &clauseName) { + auto checkMultipleOcurrence = [&](const std::list<parser::Name> &nameList, + const parser::CharBlock &item, + const std::string &clauseName) {