Skip to content

Commit f4742f1

Browse files
authored
Merge branch 'main' into users/lancesix/sched-mem
2 parents 7ab6454 + c2eb332 commit f4742f1

File tree

192 files changed

+1992
-1043
lines changed

Some content is hidden

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

192 files changed

+1992
-1043
lines changed

clang-tools-extra/docs/clang-tidy/checks/bugprone/signal-handler.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ Options
4545
Selects which set of functions is considered as asynchronous-safe
4646
(and therefore allowed in signal handlers). It can be set to the following values:
4747

48-
``minimal``
48+
- `minimal`
4949
Selects a minimal set that is defined in the CERT SIG30-C rule.
5050
and includes functions ``abort()``, ``_Exit()``, ``quick_exit()`` and
5151
``signal()``.
52-
``POSIX``
52+
- `POSIX`
5353
Selects a larger set of functions that is listed in POSIX.1-2017 (see `this
5454
link
5555
<https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04_03>`_
@@ -94,4 +94,4 @@ Options
9494
The function ``quick_exit`` is not included in the POSIX list but it
9595
is included here in the set of safe functions.
9696

97-
The default value is ``POSIX``.
97+
The default value is `POSIX`.

clang-tools-extra/docs/clang-tidy/checks/bugprone/switch-missing-default-case.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ Example:
5151
on non-enum types where the compiler warnings may not be present.
5252

5353
.. seealso::
54-
The `CppCoreGuideline ES.79 <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-default>`_
54+
The `CppCoreGuideline ES.79 <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#res-default>`_
5555
provide guidelines on switch statements, including the recommendation to
5656
always provide a default case.

clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-capturing-lambda-coroutines.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use-after-free errors and suggests avoiding captures or ensuring the lambda
88
closure object has a guaranteed lifetime.
99

1010
This check implements `CP.51
11-
<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rcoro-capture>`_
11+
<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#rcoro-capture>`_
1212
from the C++ Core Guidelines.
1313

1414
Using coroutine lambdas with non-empty capture lists can be risky, as capturing

clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-const-or-ref-data-members.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Examples:
4444
};
4545

4646
This check implements `C.12
47-
<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rc-constref>`_
47+
<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#rc-constref>`_
4848
from the C++ Core Guidelines.
4949

5050
Further reading:

clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-do-while.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ condition is not checked prior to the first iteration.
99
This can lead to subtle bugs.
1010

1111
This check implements `ES.75
12-
<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-do>`_
12+
<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#res-do>`_
1313
from the C++ Core Guidelines.
1414

1515
Examples:

clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-non-const-global-variables.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cppcoreguidelines-avoid-non-const-global-variables
66
Finds non-const global variables as described in `I.2
77
<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#i2-avoid-non-const-global-variables>`_
88
of C++ Core Guidelines.
9-
As `R.6 <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rr-global>`_
9+
As `R.6 <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#rr-global>`_
1010
of C++ Core Guidelines is a duplicate of rule `I.2
1111
<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#i2-avoid-non-const-global-variables>`_
1212
it also covers that rule.

clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/avoid-reference-coroutine-parameters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ Examples:
1818
}
1919

2020
This check implements `CP.53
21-
<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rcoro-reference-parameters>`_
21+
<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#rcoro-reference-parameters>`_
2222
from the C++ Core Guidelines.

clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/init-variables.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ value. These may lead to unexpected behavior if there is a code path that reads
88
the variable before assigning to it.
99

1010
This rule is part of the `Type safety (Type.5)
11-
<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Pro-type-init>`_
12-
profile and `ES.20 <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-always>`_
11+
<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#pro-type-init>`_
12+
profile and `ES.20 <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#res-always>`_
1313
from the C++ Core Guidelines.
1414

1515
Only integers, booleans, floats, doubles and pointers are checked. The fix

clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/interfaces-global-init.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This check flags initializers of globals that access extern objects,
77
and therefore can lead to order-of-initialization problems.
88

99
This check implements `I.22
10-
<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Ri-global-init>`_
10+
<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#ri-global-init>`_
1111
from the C++ Core Guidelines.
1212

1313
Note that currently this does not flag calls to non-constexpr functions, and

clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/missing-std-forward.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ Options
4343
Specify the function used for forwarding. Default is `::std::forward`.
4444

4545
This check implements `F.19
46-
<http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rf-forward>`_
46+
<http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#rf-forward>`_
4747
from the C++ Core Guidelines.

0 commit comments

Comments
 (0)