Skip to content

Commit 46209f2

Browse files
authored
Replace term "sample" with "example" for warning references in range [C4751, C4830]
1 parent 652ab07 commit 46209f2

22 files changed

+25
-25
lines changed

docs/error-messages/compiler-warnings/compiler-warning-level-1-and-3-c4793.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The following table lists all possible continuation messages.
3232

3333
## Examples
3434

35-
The following sample generates C4793.
35+
The following example generates C4793.
3636

3737
```cpp
3838
// C4793.cpp
@@ -50,7 +50,7 @@ warning C4793: 'asmfunc' : function is compiled as native code:
5050
Inline native assembly ('__asm') is not supported in managed code
5151
```
5252

53-
The following sample generates C4793.
53+
The following example generates C4793.
5454

5555
```cpp
5656
// C4793_b.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4772.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ library C4772bLib
5353
};
5454
```
5555

56-
The following sample generates C4772:
56+
The following example generates C4772:
5757

5858
```cpp
5959
// C4772.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4789.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The [`/sdl` (Enable Additional Security Checks)](../../build/reference/sdl-enabl
3838

3939
## Examples
4040

41-
The following sample generates C4789:
41+
The following example generates C4789:
4242

4343
```cpp
4444
// C4789.cpp
@@ -60,7 +60,7 @@ int main()
6060
}
6161
```
6262

63-
The following sample also generates C4789:
63+
The following example also generates C4789:
6464

6565
```cpp
6666
// C4789b.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4794.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The .tls$*x* section will exist in the object file where [__declspec(thread)](..
1818

1919
## Example
2020

21-
The following sample generates C4794:
21+
The following example generates C4794:
2222

2323
```cpp
2424
// C4794.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4803.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ See [warning](../../preprocessor/warning.md) pragma for information on how to tu
2020

2121
## Example
2222

23-
The following sample generates C4803.
23+
The following example generates C4803.
2424

2525
```cpp
2626
// C4803.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4804.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This warning is for when you used a **`bool`** variable or value in an unexpecte
1616

1717
## Example
1818

19-
The following sample generates C4804:
19+
The following example generates C4804:
2020

2121
```cpp
2222
// C4804.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4805.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This warning is generated for comparison operations between [bool](../../cpp/boo
1616

1717
## Example
1818

19-
The following sample generates C4805:
19+
The following example generates C4805:
2020

2121
```cpp
2222
// C4805.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4806.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This message warns against code such as `b == 3`, where `b` has type **`bool`**.
1616

1717
## Example
1818

19-
The following sample generates C4806:
19+
The following example generates C4806:
2020

2121
```cpp
2222
// C4806.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4807.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This warning is generated when comparing a one-bit signed bit field to a **`bool
1616

1717
## Example
1818

19-
The following sample generates C4807:
19+
The following example generates C4807:
2020

2121
```cpp
2222
// C4807.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4812.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ In the current release of Visual C++, the explicit constructor specialization is
1616

1717
## Example
1818

19-
The following sample generates C4812:
19+
The following example generates C4812:
2020

2121
```cpp
2222
// C4812.cpp

0 commit comments

Comments
 (0)