This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Update abseil-duration-unnecessary-conversion check to find more cases.
ClosedPublic

Authored by hwright on Mar 3 2020, 12:12 PM.

Details

Summary

This check now handles cases where there's a scalar multiplication happening between the two conversions.

Diff Detail

Event Timeline

hwright created this revision.Mar 3 2020, 12:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2020, 12:12 PM
ymandel accepted this revision.Mar 3 2020, 1:13 PM
This revision is now accepted and ready to land.Mar 3 2020, 1:13 PM
This revision was automatically updated to reflect the committed changes.

@ymandel Sorry for this inconvenience, but Phabricator has a bug/missing feature where it doesn't send email if a status change (like approving a patch) has no user-authored text. In the future, please include some text ("Thanks!", "Looks good", etc) in any approval to ensure that approval is reflected on the LLVM mailing lists - otherwise it looks like patches are being committed without review/approval.