hishiguro added a comment.
Thank you for your comments. I will check those comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79921/new/
https://reviews.llvm.org/D79921
___
cfe-commits mailing lis
ABataev added a comment.
Tests?
Comment at: clang/lib/CodeGen/CGStmtOpenMP.cpp:1736
+ const AttributedStmt *AS = nullptr;
+ if (auto *OMPD = dyn_cast(&S)) {
+const CapturedStmt *CS = OMPD->getCapturedStmt(OMPD_parallel);
1. Cast it to `OMPExecutableDirect
hishiguro updated this revision to Diff 263964.
hishiguro added a comment.
Fix clang-format error.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79921/new/
https://reviews.llvm.org/D79921
Files:
clang/lib/CodeGen/CGStmtOpenMP.cpp
Index: clang/
hishiguro created this revision.
hishiguro added a reviewer: ABataev.
hishiguro added a project: clang.
Herald added subscribers: cfe-commits, guansong, yaxunl.
Herald added a reviewer: jdoerfert.
Fixes PR45753
When a program that contains a loop to which both "omp parallel for" pragma and
"clan