[all-commits] [llvm/llvm-project] ee3c89: [clang-tidy] Use DenseMap::insert_range (NFC) (#13...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Mon Mar 31 22:11:27 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ee3c892b3570281698170130a435f9c6b32c3ef5
https://github.com/llvm/llvm-project/commit/ee3c892b3570281698170130a435f9c6b32c3ef5
Author: Kazu Hirata <kazu at google.com>
Date: 2025-03-31 (Mon, 31 Mar 2025)
Changed paths:
M clang-tools-extra/clang-tidy/utils/ExprSequence.cpp
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list