File tree Expand file tree Collapse file tree 8 files changed +16
-0
lines changed
Expand file tree Collapse file tree 8 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ Code analysis name: `FORMAT_SIZE_MISMATCH`
1818
1919## Example
2020
21+ The following example generates C6328:
22+
2123``` cpp
2224#include < cstdio>
2325
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ Code analysis name: `FORMAT_SIGN_MISMATCH`
1818
1919## Example
2020
21+ The following example generates C6340:
22+
2123``` cpp
2224#include < cstdio>
2325
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ Code analysis name: `MARK_INTERNAL_OR_MISSING_COMMON_DECL`
2121
2222## Example
2323
24+ The following example generates C6389:
25+
2426``` cpp
2527// A.h
2628struct X ;
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ Code analysis name: `NO_NULLCHECK_FOR_THIS`
1717
1818## Example
1919
20+ The following example generates C6390:
21+
2022``` cpp
2123struct X
2224{
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ Code analysis name: `EVAL_ORDER_CHANGE`
1717
1818## Example
1919
20+ The following example generates C6395:
21+
2022``` cpp
2123void foo (int* a, int i)
2224{
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ This check ignores character literals because `buffer_size += sizeof(UNICODE_NUL
1717
1818## Example
1919
20+ The following example generates C6396:
21+
2022``` cpp
2123void f ()
2224{
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ The address-of operator returns the address of its operand. This value should ne
1717
1818## Example
1919
20+ The following example generates C6397:
21+
2022``` cpp
2123bool isNull (int * a)
2224{
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ The address-of operator returns the address of its operand. This value should ne
1717
1818## Example
1919
20+ The following example generates C6398:
21+
2022``` cpp
2123struct A { int* x; };
2224
You can’t perform that action at this time.
0 commit comments