[PATCH] D116261: [WIP][Clang][OpenMP] Add support for compare capture in parser

Shilei Tian via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 23 20:17:48 PST 2021


tianshilei1992 added inline comments.


================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:10991
+      EncounteredAtomicKinds.contains(OMPC_capture))
+    AtomicKind = OMPC_compare_capture;
   // OpenMP 5.0, 2.17.7 atomic Construct, Restrictions
----------------
This is the place where the dummy kind `OMPC_compare_capture` is used. We will have another use in CodeGen.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116261/new/

https://reviews.llvm.org/D116261



More information about the llvm-commits mailing list