Skip to content

Commit be68e91

Browse files
committed
[clang-tidy] more fixes to docs
1 parent 9c49e1e commit be68e91

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

clang-tools-extra/docs/clang-tidy/checks/performance/for-range-copy.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ Options
3131
A semicolon-separated list of names of types allowed to be copied in each
3232
iteration. Regular expressions are accepted, e.g. `[Rr]ef(erence)?$` matches
3333
every type with suffix `Ref`, `ref`, `Reference` and `reference`. The default
34-
is empty. If a name in the list contains the sequence `::` it is matched
35-
against the qualified typename (i.e. `namespace::Type`), otherwise it is
36-
matched against only the type name (i.e. `Type`).
34+
is empty. If a name in the list contains the sequence `::`, it is matched
35+
against the qualified type name (i.e. ``namespace::Type``), otherwise it is
36+
matched against only the type name (i.e. ``Type``).

clang-tools-extra/docs/clang-tidy/checks/performance/unnecessary-copy-initialization.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ Options
4444
A semicolon-separated list of names of types allowed to be initialized by
4545
copying. Regular expressions are accepted, e.g. `[Rr]ef(erence)?$` matches
4646
every type with suffix `Ref`, `ref`, `Reference` and `reference`. The default
47-
is empty. If a name in the list contains the sequence `::` it is matched
48-
against the qualified typename (i.e. `namespace::Type`), otherwise it is
49-
matched against only the type name (i.e. `Type`).
47+
is empty. If a name in the list contains the sequence `::`, it is matched
48+
against the qualified type name (i.e. ``namespace::Type``), otherwise it is
49+
matched against only the type name (i.e. ``Type``).
5050

5151
.. option:: ExcludedContainerTypes
5252

clang-tools-extra/docs/clang-tidy/checks/performance/unnecessary-value-param.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ Options
6767
A semicolon-separated list of names of types allowed to be passed by value.
6868
Regular expressions are accepted, e.g. `[Rr]ef(erence)?$` matches every type
6969
with suffix `Ref`, `ref`, `Reference` and `reference`. The default is
70-
empty. If a name in the list contains the sequence `::` it is matched against
71-
the qualified typename (i.e. `namespace::Type`), otherwise it is matched
72-
against only the type name (i.e. `Type`).
70+
empty. If a name in the list contains the sequence `::`, it is matched against
71+
the qualified type name (i.e. ``namespace::Type``), otherwise it is matched
72+
against only the type name (i.e. ``Type``).

0 commit comments

Comments
 (0)