[clang-tools-extra] r374709 - [clang-tidy] bugprone-not-null-terminated-result: Sphinx adjustments
Csaba Dabis via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 13 01:41:24 PDT 2019
Author: charusso
Date: Sun Oct 13 01:41:24 2019
New Revision: 374709
URL: http://llvm.org/viewvc/llvm-project?rev=374709&view=rev
Log:
[clang-tidy] bugprone-not-null-terminated-result: Sphinx adjustments
Modified:
clang-tools-extra/trunk/docs/clang-tidy/checks/bugprone-not-null-terminated-result.rst
Modified: clang-tools-extra/trunk/docs/clang-tidy/checks/bugprone-not-null-terminated-result.rst
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/checks/bugprone-not-null-terminated-result.rst?rev=374709&r1=374708&r2=374709&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/checks/bugprone-not-null-terminated-result.rst (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/checks/bugprone-not-null-terminated-result.rst Sun Oct 13 01:41:24 2019
@@ -91,21 +91,22 @@ respectively (where only ``strerror_s``
Memory handler functions
^^^^^^^^^^^^^^^^^^^^^^^^
-- ``memcpy``: Visit the
- :ref:`Transformation rules of 'memcpy()'<MemcpyTransformation>` section.
+- ``memcpy`` Please visit the
+ :ref:`Transformation rules of 'memcpy()'<MemcpyTransformation>` section.
-- ``memchr``:
- - Usually there is a C-style cast and it is needed to be removed, because the
- new function ``strchr``'s return type is correct.
- - The given length is going to be removed.
+- ``memchr``
+ Usually there is a C-style cast and it is needed to be removed, because the
+ new function ``strchr``'s return type is correct.
+ The given length is going to be removed.
-- ``memmove``:
- - If safe functions are available the new function is ``memmove_s``, which has
- a new second argument which is the length of the destination array, it is
- adjusted, and the length of the source string is incremented by one.
- - If safe functions are not available the given length is incremented by one.
+- ``memmove``
+ If safe functions are available the new function is ``memmove_s``, which has
+ a new second argument which is the length of the destination array, it is
+ adjusted, and the length of the source string is incremented by one.
+ If safe functions are not available the given length is incremented by one.
-- ``memmove_s``: given length is incremented by one.
+- ``memmove_s``
+ The given length is incremented by one.
String handler functions
^^^^^^^^^^^^^^^^^^^^^^^^
More information about the cfe-commits
mailing list