[all-commits] [llvm/llvm-project] 176f5e: [clang-tidy] Use DenseSet<SourceLocation> in Upgra...
Mikhail Maltsev via All-commits
all-commits at lists.llvm.org
Thu Jan 14 05:50:46 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 176f5e95e1afad75ff045a00f0fa9c781bd5f54a
https://github.com/llvm/llvm-project/commit/176f5e95e1afad75ff045a00f0fa9c781bd5f54a
Author: Mikhail Maltsev <mikhail.maltsev at arm.com>
Date: 2021-01-14 (Thu, 14 Jan 2021)
Changed paths:
M clang-tools-extra/clang-tidy/abseil/UpgradeDurationConversionsCheck.cpp
M clang-tools-extra/clang-tidy/abseil/UpgradeDurationConversionsCheck.h
Log Message:
-----------
[clang-tidy] Use DenseSet<SourceLocation> in UpgradeDurationConversionsCheck, NFCI
This change replaces `unordered_set<unsigned>` (which used to store
internal representation of `SourceLocation`-s) with
`DenseSet<SourceLocation>` (which stores `SourceLocation`-s directly).
Reviewed By: aaron.ballman, njames93
Differential Revision: https://reviews.llvm.org/D94601
More information about the All-commits
mailing list