[PATCH] D64765: [OPENMP]Add support for analysis of firstprivate variables.

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 19 15:56:10 PDT 2019


ABataev marked an inline comment as done.
ABataev added inline comments.


================
Comment at: include/clang/AST/OpenMPClause.h:2102-2103
   child_range used_children() {
-    return child_range(child_iterator(), child_iterator());
+    return child_range(reinterpret_cast<Stmt **>(varlist_begin()),
+                       reinterpret_cast<Stmt **>(varlist_end()));
   }
----------------
NoQ wrote:
> So, basically, the first approximation is that all children are used?
Yes, but only for some clauses.


Repository:
  rC Clang

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

https://reviews.llvm.org/D64765





More information about the cfe-commits mailing list