File tree Expand file tree Collapse file tree 28 files changed +30
-30
lines changed Expand file tree Collapse file tree 28 files changed +30
-30
lines changed Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use-after-free errors and suggests avoiding captures or ensuring the lambda
88closure object has a guaranteed lifetime.
99
1010This check implements `CP.51
11- <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rcoro -capture> `_
11+ <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#rcoro -capture> `_
1212from the C++ Core Guidelines.
1313
1414Using coroutine lambdas with non-empty capture lists can be risky, as capturing
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ Examples:
4444 };
4545
4646This check implements `C.12
47- <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rc -constref> `_
47+ <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#rc -constref> `_
4848from the C++ Core Guidelines.
4949
5050Further reading:
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ condition is not checked prior to the first iteration.
99This can lead to subtle bugs.
1010
1111This check implements `ES.75
12- <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res -do> `_
12+ <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#res -do> `_
1313from the C++ Core Guidelines.
1414
1515Examples:
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ cppcoreguidelines-avoid-non-const-global-variables
66Finds non-const global variables as described in `I.2
77<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#i2-avoid-non-const-global-variables> `_
88of 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 >`_
1010of C++ Core Guidelines is a duplicate of rule `I.2
1111<https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#i2-avoid-non-const-global-variables> `_
1212it also covers that rule.
Original file line number Diff line number Diff line change @@ -18,5 +18,5 @@ Examples:
1818 }
1919
2020This check implements `CP.53
21- <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rcoro -reference-parameters> `_
21+ <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#rcoro -reference-parameters> `_
2222from the C++ Core Guidelines.
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ value. These may lead to unexpected behavior if there is a code path that reads
88the variable before assigning to it.
99
1010This 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 >`_
1313from the C++ Core Guidelines.
1414
1515Only integers, booleans, floats, doubles and pointers are checked. The fix
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ This check flags initializers of globals that access extern objects,
77and therefore can lead to order-of-initialization problems.
88
99This check implements `I.22
10- <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Ri -global-init> `_
10+ <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#ri -global-init> `_
1111from the C++ Core Guidelines.
1212
1313Note that currently this does not flag calls to non-constexpr functions, and
Original file line number Diff line number Diff line change @@ -43,5 +43,5 @@ Options
4343 Specify the function used for forwarding. Default is `::std::forward `.
4444
4545This check implements `F.19
46- <http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rf -forward> `_
46+ <http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#rf -forward> `_
4747from the C++ Core Guidelines.
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Furthermore, it can be configured to check against a user-specified list of
1010functions that are used for memory management (e.g. ``posix_memalign() ``).
1111
1212This check implements `R.10
13- <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rr -mallocfree> `_
13+ <https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#rr -mallocfree> `_
1414from the C++ Core Guidelines.
1515
1616There is no attempt made to provide fix-it hints, since manual resource
You can’t perform that action at this time.
0 commit comments