File tree Expand file tree Collapse file tree 19 files changed +44
-20
lines changed Expand file tree Collapse file tree 19 files changed +44
-20
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ virtual functions, thereby improving the overall stability and maintainability
56
56
of your code. In scenarios involving pointers to member virtual functions, it's
57
57
only advisable to employ ``nullptr `` for comparisons.
58
58
59
+
59
60
Limitations
60
61
-----------
61
62
Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ outcomes. The check ensures that the copy constructor of a derived class
35
35
properly calls the copy constructor of the base class, helping to prevent bugs
36
36
and improve code quality.
37
37
38
- Limitations:
38
+
39
+ Limitations
40
+ -----------
39
41
40
42
* It won't generate warnings for empty classes, as there are no class members
41
43
(including base class sub-objects) to worry about.
Original file line number Diff line number Diff line change @@ -85,7 +85,9 @@ Example:
85
85
86
86
CRTP<int> AlsoCompileTimeError;
87
87
88
- Limitations:
88
+
89
+ Limitations
90
+ -----------
89
91
90
92
* The check is not supported below C++11
91
93
Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ This check only detects range-based for loops over unordered sets and maps. It
35
35
also detects calls sorting-like algorithms on containers holding pointers.
36
36
Other similar usages will not be found and are false negatives.
37
37
38
- Limitations:
38
+
39
+ Limitations
40
+ -----------
39
41
40
42
* This check currently does not check if a nondeterministic iteration order is
41
43
likely to be a mistake, and instead marks all such iterations as bugprone.
Original file line number Diff line number Diff line change @@ -78,8 +78,9 @@ Every possible change is considered, thus if the condition variable is not
78
78
a local variable of the function, it is a volatile or it has an alias (pointer
79
79
or reference) then no warning is issued.
80
80
81
- Known limitations
82
- ^^^^^^^^^^^^^^^^^
81
+
82
+ Limitations
83
+ -----------
83
84
84
85
The ``else `` branch is not checked currently for negated condition variable:
85
86
Original file line number Diff line number Diff line change @@ -266,8 +266,9 @@ This check corresponds to the CERT C Coding Standard rule
266
266
`ARR39-C. Do not add or subtract a scaled integer to a pointer
267
267
<http://wiki.sei.cmu.edu/confluence/display/c/ARR39-C.+Do+not+add+or+subtract+a+scaled+integer+to+a+pointer> `_.
268
268
269
+
269
270
Limitations
270
- """""""""""
271
+ -----------
271
272
272
273
Cases where the pointee type has a size of `1 ` byte (such as, and most
273
274
importantly, ``char ``) are excluded.
Original file line number Diff line number Diff line change @@ -30,7 +30,9 @@ A call to ``clear()`` would appropriately clear the contents of the range:
30
30
...
31
31
v.clear();
32
32
33
- Limitations:
33
+
34
+ Limitations
35
+ -----------
34
36
35
37
* Doesn't warn if ``empty() `` is defined and used with the ignore result in the
36
38
class template definition (for example in the library implementation). These
Original file line number Diff line number Diff line change @@ -52,8 +52,9 @@ Note that there is the check
52
52
:doc: `cppcoreguidelines-avoid-non-const-global-variables <../cppcoreguidelines/avoid-non-const-global-variables >`
53
53
to enforce ``const `` correctness on all globals.
54
54
55
- Known Limitations
56
- -----------------
55
+
56
+ Limitations
57
+ -----------
57
58
58
59
The check does not run on `C ` code.
59
60
Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ References:
14
14
* JPL Institutional Coding Standard for the C Programming Language (JPL DOCID D-60411) rule `2.4 Do not use direct or indirect recursion `.
15
15
* OpenCL Specification, Version 1.2 rule `6.9 Restrictions: i. Recursion is not supported. <https://www.khronos.org/registry/OpenCL/specs/opencl-1.2.pdf >`_.
16
16
17
- Limitations:
17
+
18
+ Limitations
19
+ -----------
18
20
19
21
* The check does not handle calls done through function pointers
20
22
* The check does not handle C++ destructors
Original file line number Diff line number Diff line change @@ -175,6 +175,7 @@ Options
175
175
A string specifying which include-style is used, `llvm ` or `google `. Default
176
176
is `llvm `.
177
177
178
+
178
179
Limitations
179
180
-----------
180
181
You can’t perform that action at this time.
0 commit comments