Skip to content

Commit 5aa3127

Browse files
author
git apple-llvm automerger
committed
Merge commit '255be51f3f64' from llvm.org/main into next
2 parents ab42729 + 255be51 commit 5aa3127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Lower/OpenMP/DataSharingProcessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ bool DataSharingProcessor::OMPConstructSymbolVisitor::isSymbolDefineBy(
4747
static bool isConstructWithTopLevelTarget(lower::pft::Evaluation &eval) {
4848
const auto *ompEval = eval.getIf<parser::OpenMPConstruct>();
4949
if (ompEval) {
50-
auto dir = parser::omp::GetOmpDirectiveName(ompEval).v;
50+
auto dir = parser::omp::GetOmpDirectiveName(*ompEval).v;
5151
if (llvm::omp::topTargetSet.test(dir))
5252
return true;
5353
}

0 commit comments

Comments
 (0)