[PATCH] D50389: [clang-tidy] new check for Abseil

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 9 15:25:51 PDT 2018


alexfh added inline comments.


================
Comment at: docs/clang-tidy/checks/abseil-duration-division.rst:8
+division of two ``absl::Duration`` objects returns an ``int64`` with any fractional
+component truncated toward 0. See `this link <https://github.com/abseil/abseil-cpp/blob/29ff6d4860070bf8fcbd39c8805d0c32d56628a3/absl/time/time.h#L137>`_ for more information on how ``absl::Duration`` arithmetic functions.
+
----------------
> See ... for more information on how ``absl::Duration`` arithmetic functions.

The sentence is incomplete.


https://reviews.llvm.org/D50389





More information about the cfe-commits mailing list