Skip to content

Commit 92c1623

Browse files
authored
Merge pull request #5408 from Rageking8/add-backticks-for-code-analysis-names
Add backticks for code analysis names
2 parents 2965092 + 270d15d commit 92c1623

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

docs/code-quality/c28112.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: Warning C28112"
32
title: Warning C28112
3+
description: "Learn more about: Warning C28112"
44
ms.date: 08/25/2022
55
f1_keywords: ["C28112", "INTERLOCKED_ACCESS", "__WARNING_INTERLOCKED_ACCESS"]
66
helpviewer_keywords: ["C28112"]
7-
ms.assetid: 2720a5dc-84e9-4f78-a8c7-a320c9f9216b
87
---
98
# Warning C28112
109

@@ -16,7 +15,7 @@ A variable that is accessed by using the Interlocked executive support routines,
1615

1716
`InterlockedXxx` functions are intended to provide atomic operations, but are only atomic with respect to other `InterlockedXxx` functions. Although certain ordinary assignments, accesses, and comparisons to variables that are used by the Interlocked\* routines can be safely accessed by using a different function, the risk is great enough to justify examining each instance.
1817

19-
Code analysis name: INTERLOCKED_ACCESS
18+
Code analysis name: `INTERLOCKED_ACCESS`
2019

2120
## Example
2221

docs/code-quality/c28159.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This warning occurs when you use a function that is semantically equivalent to a
1515

1616
C28159 is a general warning message; the annotation `__drv_preferredFunction` was used (possibly with a conditional `__drv_when`() annotation) to flag a bad coding practice.
1717

18-
Code analysis name: USE_OTHER_FUNCTION
18+
Code analysis name: `USE_OTHER_FUNCTION`
1919

2020
## Example
2121

docs/code-quality/c28160.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: Warning C28160"
32
title: Warning C28160
3+
description: "Learn more about: Warning C28160"
44
ms.date: 09/08/2022
55
f1_keywords: ["C28160", "ERROR", "__WARNING_ERROR"]
66
helpviewer_keywords: ["C28160"]
7-
ms.assetid: cab15f6b-909c-4cc8-81a0-c24ac7c91c7c
87
---
98
# Warning C28160
109

@@ -16,4 +15,4 @@ This warning is reported when a `__drv_error` annotation has been encountered.
1615

1716
This annotation is used to flag coding practices that should be fixed, and can be used with a `__drv_when` annotation to indicate specific combinations of parameters.
1817

19-
Code analysis name: ERROR
18+
Code analysis name: `ERROR`

0 commit comments

Comments
 (0)