diff options
author | Jonas Toth <jonas.toth@gmail.com> | 2018-12-03 18:35:56 +0000 |
---|---|---|
committer | Jonas Toth <jonas.toth@gmail.com> | 2018-12-03 18:35:56 +0000 |
commit | 5da1825ebc59a1fb1b121d9db5c79583203dbd0f (patch) | |
tree | fb05f82f8d02f63fb2a86f57dccbb401b4fb9c9e /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallBuiltinFunction.py | |
parent | f861e291d689c7c299b0678de50580fef630ad69 (diff) | |
download | bcm5719-llvm-5da1825ebc59a1fb1b121d9db5c79583203dbd0f.tar.gz bcm5719-llvm-5da1825ebc59a1fb1b121d9db5c79583203dbd0f.zip |
[clang-tidy] 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.
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: 348161
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallBuiltinFunction.py')
0 files changed, 0 insertions, 0 deletions