Skip to content

Commit 7ca1fe9

Browse files
committed
Fix
1 parent 63c3bc6 commit 7ca1fe9

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

clang-tools-extra/docs/clang-tidy/checks/hicpp/explicit-conversions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This check is an alias for
1111
Used to enforce parts of `rule 5.4.1
1212
<https://www.perforce.com/resources/qac/high-integrity-cpp-coding-standard-expressions>`_.
1313
This check will enforce that constructors and conversion operators are
14-
marked `explicit`. Other forms of casting checks are implemented in
14+
marked ``explicit``. Other forms of casting checks are implemented in
1515
other places. The following checks can be used to check for more forms
1616
of casting:
1717

clang-tools-extra/docs/clang-tidy/checks/misc/unused-parameters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ code (e.g. when a different parameter is used instead). The suggested fixes
88
either comment parameter name out or remove the parameter completely, if all
99
callers of the function are in the same translation unit and can be updated.
1010

11-
The check is similar to the ``-Wunused-parameter`` compiler diagnostic and
11+
The check is similar to the `-Wunused-parameter` compiler diagnostic and
1212
can be used to prepare a codebase to enabling of that diagnostic. By default
1313
the check is more permissive (see :option:`StrictMode`).
1414

clang-tools-extra/docs/clang-tidy/checks/modernize/unary-static-assert.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ modernize-unary-static-assert
44
=============================
55

66
The check diagnoses any ``static_assert`` declaration with an
7-
empty string literal and provides a fix-it to replace the
7+
empty string literal and provides a fix-it note to replace the
88
declaration with a single-argument ``static_assert`` declaration.
99

1010
The check is only applicable for C++17 and later code.

clang-tools-extra/docs/clang-tidy/checks/modernize/use-designated-initializers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ declaration of ``S``.
3838
Even when compiling in a language version older than C++20, depending on your
3939
compiler, designated initializers are potentially supported. Therefore, the
4040
check is by default restricted to C99/C++20 and above. Check out the options
41-
``-Wc99-designator`` to get support for mixed designators in initializer list
42-
in C and ``-Wc++20-designator`` for support of designated initializers in older
41+
`-Wc99-designator` to get support for mixed designators in initializer list
42+
in C and `-Wc++20-designator` for support of designated initializers in older
4343
C++ language modes.
4444

4545
Options

clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ The replaced and replacement functions can be customised by configuration
1010
options. Each argument that is the result of a call to
1111
``std::string::c_str()`` and ``std::string::data()`` will have that
1212
now-unnecessary call removed in a similar manner to the
13-
`readability-redundant-string-cstr` check.
13+
`readability-redundant-string-cstr
14+
<../readability/redundant-string-cstr>` check.
1415

1516
In other words, it turns lines like:
1617

0 commit comments

Comments
 (0)