Skip to content

Commit cf8be89

Browse files
authored
Merge pull request #5800 from MicrosoftDocs/FromPublicMasterBranch
Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main)
2 parents e66dddc + dbf0722 commit cf8be89

File tree

7 files changed

+29
-31
lines changed

7 files changed

+29
-31
lines changed

docs/code-quality/c26450.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ long long multiply()
4343

4444
## See also
4545

46-
[26451](c26451.md)\
47-
[26452](c26452.md)\
48-
[26453](c26453.md)\
49-
[26454](c26454.md)\
46+
[C26451](c26451.md)\
47+
[C26452](c26452.md)\
48+
[C26453](c26453.md)\
49+
[C26454](c26454.md)\
5050
[ES.103: Don't overflow](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-overflow)

docs/code-quality/c26451.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ void leftshift(int i) noexcept
4545

4646
## See also
4747

48-
[26450](c26450.md)\
49-
[26452](c26452.md)\
50-
[26453](c26453.md)\
51-
[26454](c26454.md)\
48+
[C26450](c26450.md)\
49+
[C26452](c26452.md)\
50+
[C26453](c26453.md)\
51+
[C26454](c26454.md)\
5252
[ES.103: Don't overflow](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Res-overflow)

docs/code-quality/c26452.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ unsigned long long combine(unsigned lo, unsigned hi)
3737

3838
## See also
3939

40-
[26450](c26450.md)\
41-
[26451](c26451.md)\
42-
[26453](c26453.md)\
43-
[26454](c26454.md)\
40+
[C26450](c26450.md)\
41+
[C26451](c26451.md)\
42+
[C26453](c26453.md)\
43+
[C26454](c26454.md)\
4444
[ES.101: Use unsigned types for bit manipulation](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-unsigned)\
4545
[ES.102: Use signed types for arithmetic](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-signed)

docs/code-quality/c26453.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ void leftshift(int shiftCount)
3939

4040
## See also
4141

42-
[26450](c26450.md)\
43-
[26451](c26451.md)\
44-
[26452](c26452.md)\
45-
[26454](c26454.md)\
42+
[C26450](c26450.md)\
43+
[C26451](c26451.md)\
44+
[C26452](c26452.md)\
45+
[C26454](c26454.md)\
4646
[ES.101: Use unsigned types for bit manipulation](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-unsigned)\
4747
[ES.102: Use signed types for arithmetic](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-signed)

docs/code-quality/c26454.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
description: "Learn more about: Arithmetic overflow: 'operator' operation produces a negative unsigned result at compile time"
32
title: Warning C26454
3+
description: "Learn more about: Arithmetic overflow: 'operator' operation produces a negative unsigned result at compile time"
44
ms.date: 01/08/2017
55
f1_keywords: ["C26454", "RESULT_OF_ARITHMETIC_OPERATION_NEGATIVE_UNSIGNED"]
66
helpviewer_keywords: ["C26454"]
@@ -37,8 +37,8 @@ unsigned int negativeunsigned()
3737

3838
## See also
3939

40-
[26450](c26450.md)\
41-
[26451](c26451.md)\
42-
[26452](c26452.md)\
43-
[26453](c26453.md)\
40+
[C26450](c26450.md)\
41+
[C26451](c26451.md)\
42+
[C26452](c26452.md)\
43+
[C26453](c26453.md)\
4444
[ES.106: Don't try to avoid negative values by using unsigned](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-nonnegative)

docs/code-quality/c26488.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: Warning C26488 LIFETIMES_DEREF_NULL_POINTER"
32
title: Warning C26488
3+
description: "Learn more about: Warning C26488 LIFETIMES_DEREF_NULL_POINTER"
44
ms.date: 12/14/2018
55
f1_keywords: ["C26488", "LIFETIMES_DEREF_NULL_POINTER"]
66
helpviewer_keywords: ["C26488"]
7-
ms.assetid: 2ade0d31-f259-49de-8676-cce6092fabfc
87
author: kylereedmsft
98
ms.author: kylereed
109
---
@@ -28,9 +27,9 @@ void ex1()
2827

2928
The Lifetime guidelines from the C++ core guidelines outline a contract that code can follow which will enable more thorough static memory leak and dangling pointer detection. The basic ideas behind the guidelines are:
3029

31-
1) Never dereference an invalid (dangling) or known-null pointer
32-
2) Never return (either formal return or out parameter) any pointer from a function.
33-
3) Never pass an invalid (dangling) pointer to any function.
30+
1. Never dereference an invalid (dangling) or known-null pointer.
31+
1. Never return (either formal return or out parameter) any pointer from a function.
32+
1. Never pass an invalid (dangling) pointer to any function.
3433

3534
## See also
3635

docs/code-quality/c26489.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: Warning C26489 LIFETIMES_DEREF_INVALID_POINTER"
32
title: Warning C26489
3+
description: "Learn more about: Warning C26489 LIFETIMES_DEREF_INVALID_POINTER"
44
ms.date: 12/14/2018
55
f1_keywords: ["C26489", "LIFETIMES_DEREF_INVALID_POINTER"]
66
helpviewer_keywords: ["C26489"]
7-
ms.assetid: 15983d4f-f615-42e7-8521-ee094b87d066
87
author: kylereedmsft
98
ms.author: kylereed
109
---
@@ -30,9 +29,9 @@ int ex1()
3029

3130
The Lifetime guidelines from the C++ core guidelines outline a contract that code can follow which will enable more thorough static memory leak and dangling pointer detection. The basic ideas behind the guidelines are:
3231

33-
1) Never dereference an invalid (dangling) or known-null pointer
34-
2) Never return (either formal return or out parameter) any pointer from a function.
35-
3) Never pass an invalid (dangling) pointer to any function.
32+
1. Never dereference an invalid (dangling) or known-null pointer.
33+
1. Never return (either formal return or out parameter) any pointer from a function.
34+
1. Never pass an invalid (dangling) pointer to any function.
3635

3736
## See also
3837

0 commit comments

Comments
 (0)