[PATCH] D103666: [Clang][OpenMP] Refactor checking for mutually exclusive clauses. NFC.

Michael Kruse via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 3 21:26:29 PDT 2021


Meinersbur created this revision.
Meinersbur added a reviewer: ABataev.
Meinersbur added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
Meinersbur requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.
Herald added a project: clang.

Multiple clauses are mutually exclusive. This patch refactors the functions that check for pairs of mutually exclusive clauses into a generalized function which also also accepts a list of clause types if which at most one can appear.

NFC patch extracted out of D99459 <https://reviews.llvm.org/D99459> by request.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103666

Files:
  clang/lib/Sema/SemaOpenMP.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103666.349763.patch
Type: text/x-patch
Size: 5901 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210604/2a78562c/attachment-0001.bin>


More information about the cfe-commits mailing list