jdoerfert added a comment. What is the output when you run the example with `k` in `lastprivate` or `reduction`?
In D71475#1784173 <https://reviews.llvm.org/D71475#1784173>, @cchen wrote: > Doing this still fail the assertion since we still don't have the variable > inside > CapturedStmt. So we need to mark it as captured as well. ================ Comment at: clang/lib/Sema/SemaOpenMP.cpp:4512 } } int ClauseKindCnt = -1; ---------------- Is this "ErrorFound" here set when you run the example? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D71475/new/ https://reviews.llvm.org/D71475 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits