Skip to content

Commit d6327b9

Browse files
authored
Merge pull request #1360 from MicrosoftDocs/master
1/31 AM Publish
2 parents db051d6 + 8767d6d commit d6327b9

File tree

34 files changed

+1308
-1575
lines changed

34 files changed

+1308
-1575
lines changed

.openpublishing.redirection.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
{
22
"redirections": [
3+
{
4+
"source_path": "docs/code-quality/analyzing-application-quality-by-using-code-analysis-tools.md",
5+
"redirect_url": "/visualstudio/code-quality/code-analysis-for-managed-code-overview",
6+
"redirect_document_id": false
7+
},
8+
{
9+
"source_path": "docs/code-quality/analyzing-managed-code-quality-by-using-code-analysis.md",
10+
"redirect_url": "/visualstudio/code-quality/code-analysis-for-managed-code-overview",
11+
"redirect_document_id": false
12+
},
13+
{
14+
"source_path": "docs/code-quality/analyzing-c-cpp-code-quality-by-using-code-analysis.md",
15+
"redirect_url": "/visualstudio/code-quality/code-analysis-for-c-cpp-overview",
16+
"redirect_document_id": false
17+
},
18+
{
19+
"source_path": "docs/code-quality/how-to-suppress-warnings-by-using-the-menu-item.md",
20+
"redirect_url": "/visualstudio/code-quality/in-source-suppression-overview",
21+
"redirect_document_id": false
22+
},
23+
{
24+
"source_path": "docs/code-quality/how-to-view-managed-code-defects.md",
25+
"redirect_url": "/visualstudio/code-quality/code-analysis-for-managed-code-overview",
26+
"redirect_document_id": false
27+
},
328
{
429
"source_path": "docs/code-quality/index.md",
530
"redirect_url": "/visualstudio/code-quality/analyzing-application-quality-by-using-code-analysis-tools",
@@ -9,6 +34,11 @@
934
"source_path": "docs/code-quality/measuring-complexity-and-maintainability-of-managed-code.md",
1035
"redirect_url": "/visualstudio/code-quality/code-metrics-values/",
1136
"redirect_document_id": false
37+
},
38+
{
39+
"source_path": "docs/code-quality/suppress-warnings-by-using-the-suppressmessage-attribute.md",
40+
"redirect_url": "/visualstudio/code-quality/in-source-suppression-overview",
41+
"redirect_document_id": false
1242
},
1343
{
1444
"source_path": "docs/cross-platform/visual-studio-tools-for-apache-cordova.md",

docs/TOC.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
### Reference
4040
#### [Visual Studio workload and component IDs](install/workload-and-component-ids.md)
4141
#### [Visual Studio build numbers and release dates](install/visual-studio-build-numbers-and-release-dates.md)
42+
## [Use Visual Studio from an Azure virtual machine](install/using-visual-studio-vm.md)
4243
## [Install Build Tools into a Container](install/build-tools-container.md)
4344
### [Advanced Example for Containers](install/advanced-build-tools-container.md)
4445
### [Known Issues for Containers](install/build-tools-container-issues.md)

docs/code-quality/TOC.md

Lines changed: 632 additions & 630 deletions
Large diffs are not rendered by default.

docs/code-quality/all-rules-rule-set.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,16 @@ ms.technology:
88
- "vs-ide-code-analysis"
99
ms.tgt_pltfrm: ""
1010
ms.topic: "article"
11-
ms.assetid: b490e4d9-2736-4a1f-8bb9-1c35829aa5af
12-
caps.latest.revision: 9
1311
author: "gewarren"
1412
ms.author: "gewarren"
1513
manager: ghogen
1614
ms.workload:
1715
- "multiple"
1816
---
1917
# All Rules rule set
20-
The All Rules rule set contains all of the rules for both native and managed code. The rule set includes all the rules that are described in the following topics:
21-
22-
1. [Code Analysis for C/C++ Warnings](../code-quality/code-analysis-for-c-cpp-warnings.md)
23-
24-
2. [Code Analysis for Managed Code Warnings](../code-quality/code-analysis-for-managed-code-warnings.md)
18+
19+
The All Rules rule set contains all of the rules for both native and managed code. The rule set includes all the rules that are described in the following topics:
20+
21+
- [Code Analysis for C/C++ Warnings](../code-quality/code-analysis-for-c-cpp-warnings.md)
22+
23+
- [Code Analysis for Managed Code Warnings](../code-quality/code-analysis-for-managed-code-warnings.md)

docs/code-quality/analyzing-application-quality-by-using-code-analysis-tools.md

Lines changed: 0 additions & 56 deletions
This file was deleted.

docs/code-quality/analyzing-c-cpp-code-quality-by-using-code-analysis.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

docs/code-quality/analyzing-managed-code-quality-by-using-code-analysis.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

docs/code-quality/code-analysis-for-c-cpp-overview.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ manager: ghogen
2929
ms.workload:
3030
- "cplusplus"
3131
---
32-
# Code Analysis for C/C++ Overview
32+
# Code analysis for C/C++ overview
33+
3334
The C/C++ Code Analysis tool provides information to developers about possible defects in their C/C++ source code. Common coding errors reported by the tool include buffer overruns, un-initialized memory, null pointer dereferences, and memory and resource leaks.
3435

3536
## IDE (integrated development environment) Integration
@@ -50,4 +51,9 @@ The C/C++ Code Analysis tool provides information to developers about possible d
5051
## Command-line support
5152
In addition to the full integration within the development environment, developers can also use the analysis tool from the command line, as shown in the following example:
5253

53-
`C:\>cl /analyze Sample.cpp`
54+
`C:\>cl /analyze Sample.cpp`
55+
56+
## See also
57+
58+
[Analyzing Driver Quality by Using Code Analysis Tools](/windows-hardware/drivers/develop/analyzing-driver-quality-by-using-code-analysis-tools)
59+
[Code Analysis for Drivers Warnings](/windows-hardware/drivers/devtest/prefast-for-drivers-warnings)

docs/code-quality/demo-sample.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ This following procedures show you how to create the sample for [Walkthrough: An
6666

6767
4. Copy the following code and paste it into the **Bug.cpp** file in the [!INCLUDE[vsprvs](../code-quality/includes/vsprvs_md.md)] editor.
6868

69-
```
69+
```cpp
7070
#include <windows.h>
7171

7272
//
@@ -94,7 +94,7 @@ This following procedures show you how to create the sample for [Walkthrough: An
9494

9595
8. Copy the following code and paste it into the Bug.h file in the [!INCLUDE[vsprvs](../code-quality/includes/vsprvs_md.md)] editor.
9696

97-
```
97+
```cpp
9898
#include <stdlib.h>
9999
#include "Bug.h"
100100

@@ -180,7 +180,7 @@ This following procedures show you how to create the sample for [Walkthrough: An
180180

181181
4. Copy the following code and paste it into the **annotations.h** file in the [!INCLUDE[vsprvs](../code-quality/includes/vsprvs_md.md)] editor.
182182

183-
```
183+
```cpp
184184
#include <CodeAnalysis/SourceAnnotations.h>
185185

186186
struct LinkedList
@@ -203,7 +203,7 @@ This following procedures show you how to create the sample for [Walkthrough: An
203203

204204
8. Copy the following code and paste it into the **annotations.cpp** file in the [!INCLUDE[vsprvs](../code-quality/includes/vsprvs_md.md)] editor.
205205

206-
```
206+
```cpp
207207
#include <CodeAnalysis/SourceAnnotations.h>
208208
#include <windows.h>
209209
#include <stdlib.h>

0 commit comments

Comments
 (0)