[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 07:18:13 PDT 2021
ABataev added inline comments.
================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:12577-12578
Stmt *Body = nullptr;
- SmallVector<Stmt *, 4> OriginalInits;
+ SmallVector<std::vector<llvm::PointerUnion<Stmt *, Decl *>>, 4> OriginalInits;
+ OriginalInits.emplace_back();
if (!OMPLoopBasedDirective::doForAllLoops(
----------------
`SmallVector<SmallVector<llvm::PointerUnion<Stmt *, Decl *>>> OriginalEmits(1);`
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