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 2959051 commit 255be51Copy full SHA for 255be51
flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
@@ -47,7 +47,7 @@ bool DataSharingProcessor::OMPConstructSymbolVisitor::isSymbolDefineBy(
47
static bool isConstructWithTopLevelTarget(lower::pft::Evaluation &eval) {
48
const auto *ompEval = eval.getIf<parser::OpenMPConstruct>();
49
if (ompEval) {
50
- auto dir = parser::omp::GetOmpDirectiveName(ompEval).v;
+ auto dir = parser::omp::GetOmpDirectiveName(*ompEval).v;
51
if (llvm::omp::topTargetSet.test(dir))
52
return true;
53
}
0 commit comments