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 e78f937 commit 8db26d3Copy full SHA for 8db26d3
llvm/include/llvm/Support/PropertySetIO.h
@@ -239,6 +239,10 @@ class PropertySetRegistry {
239
return;
240
auto &PropertySet = PropertySetIt->second;
241
PropertySet.erase(PropertySet.find(PropName));
242
+ auto PropIt = PropertySet.find(PropName);
243
+ if (PropIt == PropertySet.end())
244
+ return;
245
+ PropertySet.erase(PropIt);
246
}
247
248
/// Parses from the given \p Buf a property set registry.
0 commit comments