llvm-project
ee3c892b - [clang-tidy] Use DenseMap::insert_range (NFC) (#133844)

Commit
1 year ago
[clang-tidy] Use DenseMap::insert_range (NFC) (#133844) We can safely switch to insert_range here because SyntheticStmtSourceMap starts out empty in the constructor. Also TheCFG->synthetic_stmts() comes from DenseMap, so we know that the keys are unique. That is, operator[] and insert are equivalent in this particular case.
Parents
Loading