|
12 | 12 | <Rule Id="C26116" Action="Error" /> |
13 | 13 | <Rule Id="C26117" Action="Error" /> |
14 | 14 | <Rule Id="C26130" Action="Error" /> |
15 | | - <Rule Id="C26135" Action="Error" /> |
| 15 | + <Rule Id="C26135" Action="None" /> <!-- Missing annotation <annotation> at function '<func>' --> |
16 | 16 | <Rule Id="C26140" Action="Error" /> |
17 | | - <Rule Id="C26160" Action="Error" /> |
| 17 | + <Rule Id="C26160" Action="None" /> <!-- Caller possibly failing to hold lock '<lock>' before calling function '<func>'. --> |
18 | 18 | <Rule Id="C26165" Action="Error" /> |
19 | 19 | <Rule Id="C26166" Action="Error" /> |
20 | 20 | <Rule Id="C26167" Action="Error" /> |
|
38 | 38 | <Rule Id="C26426" Action="Error" /> |
39 | 39 | <Rule Id="C26427" Action="Error" /> |
40 | 40 | <Rule Id="C26429" Action="None" /> <!-- Symbol is never tested for nullness, it can be marked as gsl::not_null. --> |
41 | | - <Rule Id="C26430" Action="Error" /> |
| 41 | + <Rule Id="C26430" Action="None" /> <!-- Symbol '<var>' is not tested for nullness on all paths --> |
42 | 42 | <Rule Id="C26431" Action="Error" /> |
43 | 43 | <Rule Id="C26432" Action="None" /> <!-- If you define or delete any default operation in the type 'type-name', define or delete them all --> |
44 | 44 | <Rule Id="C26433" Action="None" /> <!-- Function should be marked with override --> |
|
58 | 58 | <Rule Id="C26448" Action="None" /> <!-- Consider using gsl::finally if final action is intended --> |
59 | 59 | <Rule Id="C26449" Action="Error" /> |
60 | 60 | <Rule Id="C26450" Action="Error" /> |
61 | | - <Rule Id="C26451" Action="Error" /> |
| 61 | + <Rule Id="C26451" Action="None" /> <!-- Arithmetic overflow: Using operator '+' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '+' to avoid overflow --> |
62 | 62 | <Rule Id="C26452" Action="Error" /> |
63 | 63 | <Rule Id="C26453" Action="Error" /> |
64 | 64 | <Rule Id="C26454" Action="Error" /> |
65 | 65 | <Rule Id="C26455" Action="None" /> <!-- Default constructor should not throw. Declare it 'noexcept' --> |
| 66 | + <Rule Id="C26457" Action="None" /> <!-- (void) should not be used to ignore return values, use 'std::ignore =' instead --> |
66 | 67 | <Rule Id="C26459" Action="Error" /> |
67 | 68 | <Rule Id="C26460" Action="None" /> <!-- The reference argument 'argument' for function 'function' can be marked as const --> |
68 | 69 | <Rule Id="C26461" Action="None" /> <!-- The pointer argument 'argument' for function 'function' can be marked as a pointer to const --> |
69 | | - <Rule Id="C26462" Action="Error" /> |
| 70 | + <Rule Id="C26462" Action="None" /> <!-- The value pointed to by '<var>' is assigned only once, mark it as a pointer to const --> |
70 | 71 | <Rule Id="C26463" Action="Error" /> |
71 | 72 | <Rule Id="C26464" Action="Error" /> |
72 | 73 | <Rule Id="C26465" Action="Error" /> |
73 | 74 | <Rule Id="C26466" Action="Error" /> |
74 | 75 | <Rule Id="C26467" Action="None" /> <!-- Converting from floating point to unsigned integral types results in non-portable code if the double/float has a negative value. --> |
75 | 76 | <Rule Id="C26471" Action="None" /> <!-- Don't use reinterpret_cast. A cast from void* can use static_cast --> |
76 | 77 | <Rule Id="C26472" Action="None" /> <!-- Don't use a static_cast for arithmetic conversions. Use brace initialization, gsl::narrow_cast, or gsl::narrow. --> |
77 | | - <Rule Id="C26473" Action="Error" /> |
| 78 | + <Rule Id="C26473" Action="None" /> <!-- Don't cast between pointer types where the source type and the target type are the same --> |
78 | 79 | <Rule Id="C26474" Action="Error" /> |
79 | 80 | <Rule Id="C26475" Action="Error" /> |
80 | 81 | <Rule Id="C26476" Action="None" /> <!-- Expression/symbol 'name' uses a naked union 'union' with multiple type pointers: Use variant instead --> |
|
99 | 100 | <Rule Id="C26818" Action="None" /> <!-- Switch statement does not cover all cases. Consider adding a 'default' label --> |
100 | 101 | <Rule Id="C26819" Action="Error" /> |
101 | 102 | <Rule Id="C26826" Action="None" /> <!-- Don't use C-style variable arguments --> |
| 103 | + <Rule Id="C26859" Action="None" /> <!-- Empty optional '<var>' is unwrapped, will throw exception. --> |
102 | 104 | <Rule Id="C28020" Action="None" /> <!-- The expression 'expr' is not true at this call --> |
103 | 105 | <Rule Id="C28021" Action="Error" /> |
104 | 106 | <Rule Id="C28022" Action="Error" /> |
|
220 | 222 | <Rule Id="C28246" Action="Error" /> |
221 | 223 | <Rule Id="C28250" Action="Error" /> |
222 | 224 | <Rule Id="C28251" Action="None" /> <!-- Inconsistent annotation for function: this instance has an error --> |
223 | | - <Rule Id="C28252" Action="Error" /> |
224 | | - <Rule Id="C28253" Action="Error" /> |
| 225 | + <Rule Id="C28252" Action="None" /> <!-- Inconsistent annotation for '<func>': <param> has '<annotation>' on the prior instance. --> |
| 226 | + <Rule Id="C28253" Action="None" /> <!-- Inconsistent annotation for '<func>': <param> has '<annotations>' on this instance --> |
225 | 227 | <Rule Id="C28254" Action="Error" /> |
226 | 228 | <Rule Id="C28260" Action="Error" /> |
227 | 229 | <Rule Id="C28262" Action="Error" /> |
|
294 | 296 | <Rule Id="C6029" Action="Error" /> |
295 | 297 | <Rule Id="C6031" Action="None" /> <!-- Return value ignored: '<func>'. --> |
296 | 298 | <Rule Id="C6053" Action="Error" /> |
297 | | - <Rule Id="C6054" Action="Error" /> |
| 299 | + <Rule Id="C6054" Action="None" /> <!-- String '<var>' might not be zero-terminated. --> |
298 | 300 | <Rule Id="C6059" Action="Error" /> |
299 | 301 | <Rule Id="C6063" Action="Error" /> |
300 | 302 | <Rule Id="C6064" Action="Error" /> |
|
396 | 398 | <Rule Id="C6385" Action="Error" /> |
397 | 399 | <Rule Id="C6386" Action="Error" /> |
398 | 400 | <Rule Id="C6387" Action="None" /> <!-- '<expr>' could be '<val>': this does not adhere to the specification for the function '<func>' --> |
399 | | - <Rule Id="C6388" Action="Error" /> |
| 401 | + <Rule Id="C6388" Action="None" /> <!-- '<var>' might not be '<val>': this does not adhere to the specification for the function '<func>' --> |
400 | 402 | <Rule Id="C6400" Action="Error" /> |
401 | 403 | <Rule Id="C6401" Action="Error" /> |
402 | 404 | <Rule Id="C6411" Action="Error" /> |
|
0 commit comments