[PATCH] D102180: [Clang][OpenMP] Emit dependent PreInits before directive.

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 14 14:25:31 PDT 2021


ABataev added inline comments.


================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:12579
   Stmt *Body = nullptr;
-  SmallVector<Stmt *, 4> OriginalInits;
+  SmallVector<std::vector<llvm::PointerUnion<Stmt *, Decl *>>, 4> OriginalInits(1);
   if (!OMPLoopBasedDirective::doForAllLoops(
----------------
Why still `std::vector`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102180



More information about the cfe-commits mailing list