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 2c51f5e commit 3972215Copy full SHA for 3972215
llvm/include/llvm/CodeGen/GCMetadata.h
@@ -192,9 +192,7 @@ class GCStrategyMap {
192
return Strategies.try_emplace(GCName);
193
}
194
195
- bool contains(StringRef GCName) const {
196
- return Strategies.find(GCName) != Strategies.end();
197
- }
+ bool contains(StringRef GCName) const { return Strategies.contains(GCName); }
198
};
199
200
/// An analysis pass which caches information about the entire Module.
0 commit comments