[clang-tools-extra] r347825 - [Documentation] Try to fix build failure in cppcoreguidelines-narrowing-conversions documentation
Eugene Zelenko via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 28 18:13:25 PST 2018
Author: eugenezelenko
Date: Wed Nov 28 18:13:25 2018
New Revision: 347825
URL: http://llvm.org/viewvc/llvm-project?rev=347825&view=rev
Log:
[Documentation] Try to fix build failure in cppcoreguidelines-narrowing-conversions documentation
Modified:
clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-narrowing-conversions.rst
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-narrowing-conversions.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-narrowing-conversions.rst?rev=347825&r1=347824&r2=347825&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-narrowing-conversions.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/cppcoreguidelines-narrowing-conversions.rst Wed Nov 28 18:13:25 2018
@@ -27,15 +27,15 @@ This check will flag:
For example: ``int i; i+= 0.1;``.
- Options
- -------
+Options
+-------
- .. option:: WarnOnFloatingPointNarrowingConversion
+.. option:: WarnOnFloatingPointNarrowingConversion
When non-zero, the check will warn on narrowing floating point conversion
(e.g. ``double`` to ``float``). `1` by default.
- .. option:: PedanticMode
+.. option:: PedanticMode
When non-zero, the check will warn on assigning a floating point constant
to an integer value even if the floating point value is exactly
More information about the cfe-commits
mailing list