Skip to content

Commit 7008421

Browse files
committed
Relaced UnknownDetails with MiscDetails
1 parent 7932311 commit 7008421

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Semantics/resolve-directives.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,7 @@ void OmpAttributeVisitor::ResolveOmpName(
15101510
} else if (ompFlag == Symbol::Flag::OmpCriticalLock) {
15111511
// Create a new symbol.
15121512
const auto pair{GetContext().scope.try_emplace(
1513-
name.source, Attrs{}, UnknownDetails{})};
1513+
name.source, Attrs{}, MiscDetails::Kind::ConstructName)};
15141514
CHECK(pair.second);
15151515
name.symbol = &pair.first->second.get();
15161516
}

0 commit comments

Comments
 (0)