Skip to content

Commit ba62032

Browse files
authored
Replace term "sample" with "example" for warning references in range [C6401, C6999]
1 parent 028ba9a commit ba62032

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/code-quality/c6500.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ using namespace vc_attributes;
3535
void f( [Pre( Deref=2, Access=Read )] char buffer[] );
3636
```
3737
38-
To correct this warning, specify the correct level of dereference, as shown in the following sample code:
38+
To correct this warning, specify the correct level of dereference, as shown in the following example code:
3939
4040
```cpp
4141
// C

docs/code-quality/c6506.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ void f(_Out_ char c)
2727
}
2828
```
2929
30-
To correct this warning, use a pointer or an array type, as shown in the following sample code:
30+
To correct this warning, use a pointer or an array type, as shown in the following example code:
3131
3232
```cpp
3333
#include <sal.h>

docs/code-quality/c6514.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ using namespace vc_attributes;
3131
void f( [Pre(Deref=1, ValidElementsConst=8)] char(*matrix) [6] );
3232
```
3333
34-
To correct this warning, make sure the size of specified in ValidElementsConst is less than or equal to the size of the array, as shown in the following sample code:
34+
To correct this warning, make sure the size of specified in ValidElementsConst is less than or equal to the size of the array, as shown in the following example code:
3535
3636
```cpp
3737
// C

docs/code-quality/c6522.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ using namespace vc_attributes;
3434
void f ([Pre(ValidBytes="c")] char *pc, double c);
3535
```
3636
37-
To correct this warning, use `size_t` for the `ValidBytesParam` parameter data type, as shown in the following sample code:
37+
To correct this warning, use `size_t` for the `ValidBytesParam` parameter data type, as shown in the following example code:
3838
3939
```cpp
4040
// C

0 commit comments

Comments
 (0)