We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b60c252 commit d23c523Copy full SHA for d23c523
clang/lib/CodeGen/CGStmtOpenMP.cpp
@@ -4633,7 +4633,7 @@ void CodeGenFunction::EmitOMPDispatchDirective(const OMPDispatchDirective &S) {
4633
Condition =
4634
getCapturedExprFromImplicitCastExpr(NoContextC->getCondition());
4635
}
4636
- OMPLexicalScope Scope(CGF, S, OMPD_unknown);
+ OMPLexicalScope Scope(*this, S, OMPD_dispatch);
4637
/* OMPC_novariants or OMPC_nocontext present */
4638
emitIfElse(this, Condition, AssociatedStmt);
4639
0 commit comments