[PATCH] D89802: [OpenMP] Add Passing in Original Declaration Names To Mapper API

Johannes Doerfert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 26 16:10:27 PDT 2020


jdoerfert added a comment.

Looks generally good. We seem to have way to many places dealing with the mapping stuff but that is not your fault. One thing I found weird though:



================
Comment at: clang/lib/CodeGen/CGOpenMPRuntime.cpp:8078
+      for (auto LI = C->component_lists_begin(), LE = C->component_lists_end();
+           LI != LE; ++EI, ++LI) {
+        // The Expression is not correct if the mapping is implicit
----------------
Why iterations and not the range loop? also below


================
Comment at: clang/lib/CodeGen/CGOpenMPRuntime.cpp:8366
+                LE = MC->component_lists_end();
+           LI != LE; ++EI, ++LI) {
+        // The Expression is not correct if the mapping is implicit
----------------
same as above


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89802



More information about the cfe-commits mailing list