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 7932311 commit 7008421Copy full SHA for 7008421
flang/lib/Semantics/resolve-directives.cpp
@@ -1510,7 +1510,7 @@ void OmpAttributeVisitor::ResolveOmpName(
1510
} else if (ompFlag == Symbol::Flag::OmpCriticalLock) {
1511
// Create a new symbol.
1512
const auto pair{GetContext().scope.try_emplace(
1513
- name.source, Attrs{}, UnknownDetails{})};
+ name.source, Attrs{}, MiscDetails::Kind::ConstructName)};
1514
CHECK(pair.second);
1515
name.symbol = &pair.first->second.get();
1516
}
0 commit comments