================
@@ -83,7 +83,7 @@ void PDLPatternModule::mergeIn(PDLPatternModule &&other) {
for (auto &it : other.configs)
configs.emplace_back(std::move(it));
for (auto &it : other.configMap)
- configMap.insert(it);
+ configMap.try_emplace(it.first, it.second);
----------------
kazutakahirata wrote:
You may not have to break up `it` at all:
```
MethodVFTableLocations.insert_range(NewMethodLocations);
```
https://github.com/llvm/llvm-project/pull/221853
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits