Skip to content

Commit c73870d

Browse files
authored
[clang-tidy][docs][NFC] Enforce 80 characters limit (2/N) (#167632)
Fix documentation in `cert`, `clang-analyzer`, `concurrency`, `cppcoreguidelines`, `darwin`, `fuchsia` and `google`. This is part of the codebase cleanup described in [#167098](llvm/llvm-project#167098)
1 parent bde9062 commit c73870d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+159
-126
lines changed

clang-tools-extra/docs/clang-tidy/checks/cert/con36-c.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ cert-con36-c
66
============
77

88
The `cert-con36-c` check is an alias, please see
9-
:doc:`bugprone-spuriously-wake-up-functions <../bugprone/spuriously-wake-up-functions>`
9+
:doc:`bugprone-spuriously-wake-up-functions
10+
<../bugprone/spuriously-wake-up-functions>`
1011
for more information.

clang-tools-extra/docs/clang-tidy/checks/cert/con54-cpp.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ cert-con54-cpp
66
==============
77

88
The `cert-con54-cpp` check is an alias, please see
9-
:doc:`bugprone-spuriously-wake-up-functions <../bugprone/spuriously-wake-up-functions>`
9+
:doc:`bugprone-spuriously-wake-up-functions
10+
<../bugprone/spuriously-wake-up-functions>`
1011
for more information.

clang-tools-extra/docs/clang-tidy/checks/cert/ctr56-cpp.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ cert-ctr56-cpp
77

88
The `cert-ctr56-cpp` check is an alias, please see
99
:doc:`bugprone-pointer-arithmetic-on-polymorphic-object
10-
<../bugprone/pointer-arithmetic-on-polymorphic-object>` for more information.
10+
<../bugprone/pointer-arithmetic-on-polymorphic-object>` for more information.

clang-tools-extra/docs/clang-tidy/checks/cert/dcl16-c.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ cert-dcl16-c
66
============
77

88
The `cert-dcl16-c` check is an alias, please see
9-
:doc:`readability-uppercase-literal-suffix <../readability/uppercase-literal-suffix>` for more information.
9+
:doc:`readability-uppercase-literal-suffix
10+
<../readability/uppercase-literal-suffix>` for more information.

clang-tools-extra/docs/clang-tidy/checks/cert/dcl50-cpp.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ cert-dcl50-cpp
66
==============
77

88
The `cert-dcl50-cpp` check is an alias, please see
9-
`modernize-avoid-variadic-functions <../modernize/avoid-variadic-functions.html>`_
9+
:doc:`modernize-avoid-variadic-functions
10+
<../modernize/avoid-variadic-functions>`
1011
for more information.
1112

1213
This check corresponds to the CERT C++ Coding Standard rule

clang-tools-extra/docs/clang-tidy/checks/cert/dcl58-cpp.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ cert-dcl58-cpp
44
==============
55

66
The `cert-dcl58-cpp` is an aliaes, please see
7-
`bugprone-std-namespace-modification <../bugprone/std-namespace-modification.html>`_
7+
:doc:`bugprone-std-namespace-modification
8+
<../bugprone/std-namespace-modification>`
89
for more information.
910

1011
This check corresponds to the CERT C++ Coding Standard rule

clang-tools-extra/docs/clang-tidy/checks/cert/dcl59-cpp.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ cert-dcl59-cpp
66
==============
77

88
The `cert-dcl59-cpp` check is an alias, please see
9-
:doc:`google-build-namespaces <../google/build-namespaces>` for more information.
9+
:doc:`google-build-namespaces <../google/build-namespaces>`
10+
for more information.

clang-tools-extra/docs/clang-tidy/checks/cert/env33-c.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cert-env33-c
44
============
55

66
The `cert-env33-c` check is an alias, please see
7-
`bugprone-command-processor <../bugprone/command-processor.html>`_
7+
:doc:`bugprone-command-processor <../bugprone/command-processor>`
88
for more information.
99

1010
This check corresponds to the CERT C Coding Standard rule

clang-tools-extra/docs/clang-tidy/checks/cert/err09-cpp.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ cert-err09-cpp
66
==============
77

88
The `cert-err09-cpp` check is an alias, please see
9-
:doc:`misc-throw-by-value-catch-by-reference <../misc/throw-by-value-catch-by-reference>`
9+
:doc:`misc-throw-by-value-catch-by-reference
10+
<../misc/throw-by-value-catch-by-reference>`
1011
for more information.
1112

1213
This check corresponds to the CERT C++ Coding Standard recommendation
13-
ERR09-CPP. Throw anonymous temporaries. However, all of the CERT recommendations
14-
have been removed from public view, and so their justification for the behavior
15-
of this check requires an account on their wiki to view.
14+
ERR09-CPP. Throw anonymous temporaries. However, all of the CERT
15+
recommendations have been removed from public view, and so their
16+
justification for the behavior of this check requires an account on
17+
their wiki to view.

clang-tools-extra/docs/clang-tidy/checks/cert/err33-c.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ functions are checked:
186186
* wscanf()
187187
* wscanf_s()
188188

189-
This check is an alias of check :doc:`bugprone-unused-return-value <../bugprone/unused-return-value>`
190-
with a fixed set of functions.
189+
This check is an alias of check :doc:`bugprone-unused-return-value
190+
<../bugprone/unused-return-value>` with a fixed set of functions.
191191

192192
Suppressing issues by casting to ``void`` is enabled by default and can be
193193
disabled by setting `AllowCastToVoid` option to `false`.

0 commit comments

Comments
 (0)