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

Committed
hwrightDec 19 2018, 8:03 AM
Differential Revision
D55784: [clang-tidy] Update abseil-duration-comparison to handle macro arguments
Branches
Unknown
Tags
Unknown