Skip to content

Commit d23c523

Browse files
author
Sunil Kuravinakop
committed
Changing LexicalScope to OMPD_dispatch.
1 parent b60c252 commit d23c523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CGStmtOpenMP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4633,7 +4633,7 @@ void CodeGenFunction::EmitOMPDispatchDirective(const OMPDispatchDirective &S) {
46334633
Condition =
46344634
getCapturedExprFromImplicitCastExpr(NoContextC->getCondition());
46354635
}
4636-
OMPLexicalScope Scope(CGF, S, OMPD_unknown);
4636+
OMPLexicalScope Scope(*this, S, OMPD_dispatch);
46374637
/* OMPC_novariants or OMPC_nocontext present */
46384638
emitIfElse(this, Condition, AssociatedStmt);
46394639
}

0 commit comments

Comments
 (0)