HomePhabricator

[clang-tidy] Use DenseSet<SourceLocation> in UpgradeDurationConversionsCheck…

Authored by miyuki on Jan 14 2021, 5:50 AM.

Description

[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