[PATCH] D54246: [clang-tidy] Add the abseil-duration-factory-scale check
Hyrum Wright via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 14 07:29:49 PST 2018
hwright updated this revision to Diff 174039.
hwright marked 11 inline comments as done.
hwright added a comment.
Combined multiplication and division logic, and also now handles scaling of multiple steps (e.g., Seconds * 3600).
https://reviews.llvm.org/D54246
Files:
clang-tidy/abseil/AbseilTidyModule.cpp
clang-tidy/abseil/CMakeLists.txt
clang-tidy/abseil/DurationFactoryScaleCheck.cpp
clang-tidy/abseil/DurationFactoryScaleCheck.h
docs/ReleaseNotes.rst
docs/clang-tidy/checks/abseil-duration-factory-scale.rst
docs/clang-tidy/checks/list.rst
test/clang-tidy/abseil-duration-factory-scale.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54246.174039.patch
Type: text/x-patch
Size: 21542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181114/7ec25cf8/attachment-0001.bin>
More information about the cfe-commits
mailing list