[docs] Fix a few problems with clang-tool docs to get the bots green again.

llvm-svn: 363518
This commit is contained in:
Don Hinton 2019-06-16 17:57:37 +00:00
parent 41abf2766e
commit 3a92aa2999
2 changed files with 4 additions and 2 deletions

View File

@ -192,11 +192,12 @@ Improvements to clang-tidy
Rewrites function signatures to use a trailing return type.
- The :doc:`misc-throw-by-value-catch-by-reference
<clang-tidy/checks/misc-throw-by-value-catch-by-reference.rst>` now supports
<clang-tidy/checks/misc-throw-by-value-catch-by-reference>` now supports
`WarnOnLargeObject` and `MaxSize` options to warn on any large trivial
object caught by value.
- Added `UseAssignment` option to :doc:`cppcoreguidelines-pro-type-member-init`
- Added `UseAssignment` option to :doc:`cppcoreguidelines-pro-type-member-init
<clang-tidy/checks/cppcoreguidelines-pro-type-member-init>`
If set to true, the check will provide fix-its with literal initializers
(``int i = 0;``) instead of curly braces (``int i{};``).

View File

@ -17,4 +17,5 @@ Examples:
Suggested replacement:
.. code-block:: c++
pipe2(pipefd, O_CLOEXEC);