summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/TextAPI/ELFYAMLTest.cpp
diff options
context:
space:
mode:
authorJonas Toth <jonas.toth@gmail.com>2018-12-03 19:22:08 +0000
committerJonas Toth <jonas.toth@gmail.com>2018-12-03 19:22:08 +0000
commit00f1d76738a50374019a47d30d09ee1829fe4a65 (patch)
tree110760104cad59451ab1988ef4b7f7ffb567fd76 /llvm/unittests/TextAPI/ELFYAMLTest.cpp
parent2accb31690bcf8572ba926c5d847b1c457000917 (diff)
downloadbcm5719-llvm-00f1d76738a50374019a47d30d09ee1829fe4a65.tar.gz
bcm5719-llvm-00f1d76738a50374019a47d30d09ee1829fe4a65.zip
[clang-tidy] Recommit: Add the abseil-duration-comparison check
Summary: This check finds instances where Duration values are being converted to a numeric value in a comparison expression, and suggests that the conversion happen on the other side of the expression to a Duration. See documentation for examples. This also shuffles some code around so that the new check may perform in sone step simplifications also caught by other checks. Compilation is unbroken, because the hash-function is now directly specified for std::unordered_map, as 'enum class' does not compile as key (seamingly only on some compilers). Patch by hwright. Reviewers: aaron.ballman, JonasToth, alexfh, hokein Reviewed By: JonasToth Subscribers: sammccall, Eugene.Zelenko, xazax.hun, cfe-commits, mgorny Tags: #clang-tools-extra Differential Revision: https://reviews.llvm.org/D54737 llvm-svn: 348169
Diffstat (limited to 'llvm/unittests/TextAPI/ELFYAMLTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud