[PATCH] D75558: [clang-tidy] Update abseil-duration-unnecessary-conversion check to find more cases.
Hyrum Wright via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 3 12:37:13 PST 2020
hwright created this revision.
hwright added reviewers: aaron.ballman, ymandel.
Herald added subscribers: cfe-commits, xazax.hun.
Herald added a project: clang.
This check now handles cases where there's a scalar multiplication happening between the two conversions.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75558
Files:
clang-tools-extra/clang-tidy/abseil/DurationUnnecessaryConversionCheck.cpp
clang-tools-extra/docs/clang-tidy/checks/abseil-duration-unnecessary-conversion.rst
clang-tools-extra/test/clang-tidy/checkers/abseil-duration-unnecessary-conversion.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75558.247988.patch
Type: text/x-patch
Size: 7712 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200303/8fa695b1/attachment-0001.bin>
More information about the cfe-commits
mailing list