[clang-tools-extra] r355094 - [clang-tidy] attempt to fix documentation build-error
Jonas Toth via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 28 07:01:18 PST 2019
Author: jonastoth
Date: Thu Feb 28 07:01:17 2019
New Revision: 355094
URL: http://llvm.org/viewvc/llvm-project?rev=355094&view=rev
Log:
[clang-tidy] attempt to fix documentation build-error
Modified:
clang-tools-extra/trunk/docs/clang-tidy/checks/abseil-time-subtraction.rst
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/abseil-time-subtraction.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/abseil-time-subtraction.rst?rev=355094&r1=355093&r2=355094&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/abseil-time-subtraction.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/abseil-time-subtraction.rst Thu Feb 28 07:01:17 2019
@@ -8,9 +8,10 @@ in the Time domain instead of the numeri
There are two cases of Time subtraction in which deduce additional type
information:
- - When the result is an ``absl::Duration`` and the first argument is an
- ``absl::Time``.
- - When the second argument is a ``absl::Time``.
+
+- When the result is an ``absl::Duration`` and the first argument is an
+ ``absl::Time``.
+- When the second argument is a ``absl::Time``.
In the first case, we must know the result of the operation, since without that
the second operand could be either an ``absl::Time`` or an ``absl::Duration``.
More information about the cfe-commits
mailing list