Author: alexfh Date: Mon Feb 8 09:09:34 2016 New Revision: 260099 URL: http://llvm.org/viewvc/llvm-project?rev=260099&view=rev Log: [clang-tidy] Fix an error in .rst
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/misc-incorrect-roundings.rst Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/misc-incorrect-roundings.rst URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/misc-incorrect-roundings.rst?rev=260099&r1=260098&r2=260099&view=diff ============================================================================== --- clang-tools-extra/trunk/docs/clang-tidy/checks/misc-incorrect-roundings.rst (original) +++ clang-tools-extra/trunk/docs/clang-tidy/checks/misc-incorrect-roundings.rst Mon Feb 8 09:09:34 2016 @@ -2,8 +2,10 @@ misc-incorrect-roundings ======================== Checks the usage of patterns known to produce incorrect rounding. -Programmers often use - (int)(double_expression + 0.5) +Programmers often use:: + + (int)(double_expression + 0.5) + to round the double expression to an integer. The problem with this: 1. It is unnecessarily slow. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits