From 3a92aa29992199d537254b10c0b0f29088277a58 Mon Sep 17 00:00:00 2001 From: Don Hinton Date: Sun, 16 Jun 2019 17:57:37 +0000 Subject: [PATCH] [docs] Fix a few problems with clang-tool docs to get the bots green again. llvm-svn: 363518 --- clang-tools-extra/docs/ReleaseNotes.rst | 5 +++-- .../docs/clang-tidy/checks/android-cloexec-pipe.rst | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/clang-tools-extra/docs/ReleaseNotes.rst b/clang-tools-extra/docs/ReleaseNotes.rst index bf0a57b14757..ed8f15295f81 100644 --- a/clang-tools-extra/docs/ReleaseNotes.rst +++ b/clang-tools-extra/docs/ReleaseNotes.rst @@ -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 - ` now supports + ` 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 + ` If set to true, the check will provide fix-its with literal initializers (``int i = 0;``) instead of curly braces (``int i{};``). diff --git a/clang-tools-extra/docs/clang-tidy/checks/android-cloexec-pipe.rst b/clang-tools-extra/docs/clang-tidy/checks/android-cloexec-pipe.rst index 15f6dfa1aff5..b0504e9baeec 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/android-cloexec-pipe.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/android-cloexec-pipe.rst @@ -17,4 +17,5 @@ Examples: Suggested replacement: .. code-block:: c++ + pipe2(pipefd, O_CLOEXEC);