Skip to content

Commit e7f6c33

Browse files
authored
Merge pull request #5805 from Rageking8/structure-warning-references-in-range-c26800-c26830
Structure warning references in range [C26800, C26830]
2 parents db9dfb2 + a8a8761 commit e7f6c33

21 files changed

+29
-27
lines changed

docs/code-quality/c26800.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Warning C26800
2+
title: "Warning C26800"
33
description: "Learn more about: Warning C26800"
44
ms.date: 01/14/2019
55
f1_keywords: ["C26800", "USE_OF_A_MOVED_FROM_OBJECT"]

docs/code-quality/c26810.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Warning C26810
2+
title: "Warning C26810"
33
description: "Learn more about: Warning C26810."
44
ms.date: 05/11/2023
55
f1_keywords: ["C26810", "COROUTINES_USE_AFTER_FREE_CAPTURE"]

docs/code-quality/c26811.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Warning C26811
2+
title: "Warning C26811"
33
description: "Learn more about: Warning C26811."
44
ms.date: 05/11/2023
55
f1_keywords: ["C26811", "COROUTINES_USE_AFTER_FREE_PARAM"]

docs/code-quality/c26812.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2+
title: "Warning C26812"
23
description: "Learn more about: Warning C26812"
3-
title: Warning C26812
44
ms.date: 02/14/2022
55
f1_keywords: ["C26812", "PreferScopedEnum"]
66
helpviewer_keywords: ["C26812"]

docs/code-quality/c26813.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Warning C26813
2+
title: "Warning C26813"
33
description: "Learn more about: Warning C26813"
44
ms.date: 05/17/2022
55
f1_keywords: ["C26813", "USE_BITWISE_AND_TO_CHEK_ENUM_FLAGS", "USE_BITWISE_AND_TO_CHECK_ENUM_FLAGS"]

docs/code-quality/c26814.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2+
title: "Warning C26814"
23
description: "Learn more about: Warning C26814"
3-
title: Warning C26814
44
ms.date: 07/15/2019
55
f1_keywords: ["C26814", "USE_CONSTEXPR_RATHER_THAN_CONST"]
66
helpviewer_keywords: ["C26814"]

docs/code-quality/c26815.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: Warning C26815
2+
title: "Warning C26815"
33
description: "Learn more about: Warning C26815."
4+
ms.date: 01/27/2020
45
author: Rastaban
56
ms.author: philc
6-
ms.date: 01/27/2020
77
f1_keywords: ["C26815", "LIFETIME_LOCAL_USE_AFTER_FREE_TEMP"]
88
helpviewer_keywords: ["C26815"]
99
---

docs/code-quality/c26816.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: Warning C26816
2+
title: "Warning C26816"
33
description: "Learn more about: Warning C26816."
4+
ms.date: 01/27/2020
45
author: Rastaban
56
ms.author: philc
6-
ms.date: 01/27/2020
77
f1_keywords: ["C26816", "LIFETIME_LOCAL_USE_AFTER_FREE_STACK"]
88
helpviewer_keywords: ["C26816"]
99
---

docs/code-quality/c26817.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Warning C26817
2+
title: "Warning C26817"
33
description: "Reference for Microsoft C++ Code Analysis warning C26817 in Visual Studio."
44
ms.date: 10/12/2023
55
f1_keywords: ["C26817"]
@@ -9,6 +9,8 @@ helpviewer_keywords: ["C26817"]
99

1010
> Potentially expensive copy of variable *name* in range-for loop. Consider making it a const reference (es.71).
1111
12+
## Remarks
13+
1214
For more information, see [ES.71: Prefer a range-`for`-statement to a `for`-statement when there is a choice](https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Res-for-range) in the C++ Core Guidelines.
1315

1416
## Example

docs/code-quality/c26818.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Warning C26818
2+
title: "Warning C26818"
33
description: "Reference for Microsoft C++ Code Analysis warning C26818 in Visual Studio."
44
ms.date: 04/22/2020
55
f1_keywords: ["C26818"]

0 commit comments

Comments
 (0)