Working on clang-tidy check that is finding modifications of container you are iterating I found this lines of code. Here, we are using operator[] on std::map and as I understand, depending on the behaviour of operator[] - creating new entry in absence of key (ie. as I understand, comparisons in line 3223 and 3231 should succeed only if Entry.first was not in map).
Changing it to explicitly checking presence in map is cleaner and less bug-prone.