[PATCH] D58977: [clang-tidy] Add the abseil-time-comparison check

Hyrum Wright via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 5 08:35:39 PST 2019


hwright created this revision.
hwright added reviewers: hokein, ioeric.
Herald added subscribers: cfe-commits, jdoerfert, xazax.hun, mgorny.
Herald added a project: clang.

This is an analog of the `abseil-duration-comparison` check, but for the `absl::Time` domain.  It has a similar implementation and tests.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D58977

Files:
  clang-tidy/abseil/AbseilTidyModule.cpp
  clang-tidy/abseil/CMakeLists.txt
  clang-tidy/abseil/TimeComparisonCheck.cpp
  clang-tidy/abseil/TimeComparisonCheck.h
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/abseil-time-comparison.rst
  docs/clang-tidy/checks/list.rst
  test/clang-tidy/abseil-time-comparison.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58977.189337.patch
Type: text/x-patch
Size: 13644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190305/f0903039/attachment.bin>


More information about the cfe-commits mailing list