HomePhabricator

[clang-tidy] Diagnose abseil-duration-comparison on macro arguments

Description

[clang-tidy] Diagnose abseil-duration-comparison on macro arguments

Summary:
This change relaxes the requirements on the utility
rewriteExprFromNumberToDuration function, and introduces new checking
inside of the abseil-duration-comparison check to allow macro argument
expression transformation.

Differential Revision: https://reviews.llvm.org/D55784

Details