Skip to content

Commit 2b5f78c

Browse files
Address a comment.
1 parent e491511 commit 2b5f78c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/LTO/LTOModule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ void LTOModule::parseSymbols() {
623623
for (const auto &[Key, Value] : _undefines) {
624624
// If this symbol also has a definition, then don't make an undefine because
625625
// it is a tentative definition.
626-
if (!_defines.count(Key))
626+
if (!_defines.contains(Key))
627627
_symbols.push_back(Value);
628628
}
629629
}

0 commit comments

Comments
 (0)