[clang] [llvm] Draft/wip/preview of using leaf constructs in clang (PR #84817)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 11 13:13:58 PDT 2024
================
@@ -2975,9 +2991,11 @@ StmtResult Parser::ParseOpenMPDeclarativeOrExecutableDirective(
/*isStmtExpr=*/false));
AssociatedStmt = Actions.ActOnOpenMPRegionEnd(AssociatedStmt, Clauses);
}
- Directive = Actions.ActOnOpenMPExecutableDirective(
- DKind, DirName, CancelRegion, Clauses, AssociatedStmt.get(), Loc,
- EndLoc);
+ if (!isCombinedConstruct(DKind)) {
+ Directive = Actions.ActOnOpenMPExecutableDirective(
+ DKind, DirName, CancelRegion, Clauses, AssociatedStmt.get(), Loc,
+ EndLoc);
+ }
----------------
alexey-bataev wrote:
Would be good somehow merge this stuff
https://github.com/llvm/llvm-project/pull/84817
More information about the cfe-commits
mailing list