Skip to content

Commit 412f37a

Browse files
author
Colin Robertson
authored
Clean markdown headers and lint related files (#453)
* Remove translation metadata, lint some topics * Lint markdown, formatting * Extra lint. * More formatting edits * Clean up items found during search
1 parent a5e2d03 commit 412f37a

52 files changed

Lines changed: 703 additions & 1324 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/cpp/abort-function.md‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
22
title: "abort Function | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "11/04/2016"
4+
ms.date: "12/01/2017"
55
ms.reviewer: ""
66
ms.suite: ""
77
ms.technology: ["cpp-language"]
88
ms.tgt_pltfrm: ""
99
ms.topic: "language-reference"
10-
f1_keywords: ["Abort"]
1110
dev_langs: ["C++"]
1211
helpviewer_keywords: ["abort function"]
1312
ms.assetid: 3352bcc4-1a8a-4e1f-8dcc-fe30f6b50f2d
@@ -17,7 +16,9 @@ ms.author: "mblome"
1716
manager: "ghogen"
1817
---
1918
# abort Function
20-
The **abort** function, also declared in the standard include file STDLIB.H, terminates a C++ program. The difference between **exit** and **abort** is that **exit** allows the C++ run-time termination processing to take place (global object destructors will be called), whereas **abort** terminates the program immediately. For more information, see [abort](../c-runtime-library/reference/abort.md) in the *Run-Time Library Reference*.
21-
22-
## See Also
23-
[Program Termination](../cpp/program-termination.md)
19+
20+
The **abort** function, also declared in the standard include file STDLIB.H, terminates a C++ program. The difference between **exit** and **abort** is that **exit** allows the C++ run-time termination processing to take place (global object destructors will be called), whereas **abort** terminates the program immediately. For more information, see [abort](../c-runtime-library/reference/abort.md) in the *Run-Time Library Reference*.
21+
22+
## See also
23+
24+
[Program Termination](../cpp/program-termination.md)
Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Compiler Warning (level 4) C4061 | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "11/04/2016"
4+
ms.date: "11/30/2017"
55
ms.reviewer: ""
66
ms.suite: ""
77
ms.technology: ["cpp-tools"]
@@ -17,32 +17,35 @@ ms.author: "corob"
1717
manager: "ghogen"
1818
---
1919
# Compiler Warning (level 4) C4061
20-
enumerator 'identifier' in switch of enum 'enumeration' is not explicitly handled by a case label
21-
22-
The enumerate has no associated handler in a `switch` statement.
23-
24-
This warning is off by default. See [Compiler Warnings That Are Off by Default](../../preprocessor/compiler-warnings-that-are-off-by-default.md) for more information.
25-
26-
The following sample generates C4061:
27-
28-
```
29-
// C4061.cpp
30-
// compile with: /W4
31-
#pragma warning(default : 4061)
32-
33-
enum E { a, b, c };
34-
void func ( E e )
35-
{
36-
switch(e)
37-
{
38-
case a:
39-
case b:
40-
default:
41-
break;
42-
} // C4061 c' not handled
43-
}
44-
45-
int main()
46-
{
47-
}
20+
21+
> enumerator '*identifier*' in switch of enum '*enumeration*' is not explicitly handled by a case label
22+
23+
The enumerator has no associated handler in a `switch` statement.
24+
25+
This warning is off by default. See [Compiler Warnings That Are Off by Default](../../preprocessor/compiler-warnings-that-are-off-by-default.md) for more information.
26+
27+
## Example
28+
29+
The following sample generates C4061; add a case for the missing enumerator to fix:
30+
31+
```cpp
32+
// C4061.cpp
33+
// compile with: /W4
34+
#pragma warning(default : 4061)
35+
36+
enum E { a, b, c };
37+
void func ( E e )
38+
{
39+
switch(e)
40+
{
41+
case a:
42+
case b:
43+
default:
44+
break;
45+
} // C4061 c' not handled
46+
}
47+
48+
int main()
49+
{
50+
}
4851
```
Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,2 @@
1-
---
2-
translation.priority.ht:
3-
- "cs-cz"
4-
- "de-de"
5-
- "es-es"
6-
- "fr-fr"
7-
- "it-it"
8-
- "ja-jp"
9-
- "ko-kr"
10-
- "pl-pl"
11-
- "pt-br"
12-
- "ru-ru"
13-
- "tr-tr"
14-
- "zh-cn"
15-
- "zh-tw"
16-
---
17-
181
> [!IMPORTANT]
192
> This sample code is intended to illustrate a concept, and it shows only the code that is relevant to that concept. It may not meet the security requirements for a specific environment, and it should not be used exactly as shown. We recommend that you add security and error-handling code to make your projects more secure and robust. Microsoft provides this sample code "AS IS" with no warranties.

‎docs/linux/prop-pages-linux.md‎

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,20 @@ ms.technology: ["cpp-linux"]
88
ms.tgt_pltfrm: ""
99
ms.topic: "article"
1010
ms.assetid: 33d8c1f4-13f1-4f61-b407-30715b28142f
11-
author: "mblome"
11+
author: "mikeblome"
1212
ms.author: "mblome"
1313
manager: "ghogen"
1414
---
15-
1615
# Linux Project Property Page Reference
17-
This section contains reference content for property pages in a Visual C++ Linux project.
18-
19-
- [General Properties (Linux)](prop-pages/general-linux.md)
20-
- [Debugging Properties (Linux)](prop-pages/debugging-linux.md)
21-
- [VC++ Directories Properties (Linux)](prop-pages/directories-linux.md)
22-
- [Copy Sources Properties (Linux)](prop-pages/copy-sources-project.md)
23-
- [C/C++ Properties (Linux)](prop-pages/c-cpp-linux.md)
24-
- [Linker Properties (Linux)](prop-pages/linker-linux.md)
25-
- [Build Event Properties (Linux)](prop-pages/build-events-linux.md)
26-
- [Custom Build Step Properties (Linux)](prop-pages/custom-build-step-linux.md)
27-
- [Makefile Project Properties (Linux)](prop-pages/makefile-linux.md)
28-
2916

17+
This section contains reference content for property pages in a Visual C++ Linux project.
3018

19+
- [General Properties (Linux)](prop-pages/general-linux.md)
20+
- [Debugging Properties (Linux)](prop-pages/debugging-linux.md)
21+
- [VC++ Directories Properties (Linux)](prop-pages/directories-linux.md)
22+
- [Copy Sources Properties (Linux)](prop-pages/copy-sources-project.md)
23+
- [C/C++ Properties (Linux)](prop-pages/c-cpp-linux.md)
24+
- [Linker Properties (Linux)](prop-pages/linker-linux.md)
25+
- [Build Event Properties (Linux)](prop-pages/build-events-linux.md)
26+
- [Custom Build Step Properties (Linux)](prop-pages/custom-build-step-linux.md)
27+
- [Makefile Project Properties (Linux)](prop-pages/makefile-linux.md)

‎docs/misc/includes/compact_md.md‎

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1 @@
1-
---
2-
translation.priority.ht:
3-
- "cs-cz"
4-
- "de-de"
5-
- "es-es"
6-
- "fr-fr"
7-
- "it-it"
8-
- "ja-jp"
9-
- "ko-kr"
10-
- "pl-pl"
11-
- "pt-br"
12-
- "ru-ru"
13-
- "tr-tr"
14-
- "zh-cn"
15-
- "zh-tw"
16-
---
171
.NET Compact Framework
Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1 @@
1-
---
2-
translation.priority.ht:
3-
- "cs-cz"
4-
- "de-de"
5-
- "es-es"
6-
- "fr-fr"
7-
- "it-it"
8-
- "ja-jp"
9-
- "ko-kr"
10-
- "pl-pl"
11-
- "pt-br"
12-
- "ru-ru"
13-
- "tr-tr"
14-
- "zh-cn"
15-
- "zh-tw"
16-
---
171
Visual C++
Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1 @@
1-
---
2-
translation.priority.ht:
3-
- "cs-cz"
4-
- "de-de"
5-
- "es-es"
6-
- "fr-fr"
7-
- "it-it"
8-
- "ja-jp"
9-
- "ko-kr"
10-
- "pl-pl"
11-
- "pt-br"
12-
- "ru-ru"
13-
- "tr-tr"
14-
- "zh-cn"
15-
- "zh-tw"
16-
---
171
Visual C#
Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1 @@
1-
---
2-
translation.priority.ht:
3-
- "cs-cz"
4-
- "de-de"
5-
- "es-es"
6-
- "fr-fr"
7-
- "it-it"
8-
- "ja-jp"
9-
- "ko-kr"
10-
- "pl-pl"
11-
- "pt-br"
12-
- "ru-ru"
13-
- "tr-tr"
14-
- "zh-cn"
15-
- "zh-tw"
16-
---
171
[Download Visual Studio Community](http://go.microsoft.com/fwlink/?LinkId=524433) or [compare Visual Studio editions](https://www.visualstudio.com/vs-2015-product-editions)

‎docs/misc/includes/esprbuild_md.md‎

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1 @@
1-
---
2-
translation.priority.ht:
3-
- "cs-cz"
4-
- "de-de"
5-
- "es-es"
6-
- "fr-fr"
7-
- "it-it"
8-
- "ja-jp"
9-
- "ko-kr"
10-
- "pl-pl"
11-
- "pt-br"
12-
- "ru-ru"
13-
- "tr-tr"
14-
- "zh-cn"
15-
- "zh-tw"
16-
---
171
Team Foundation Build

‎docs/misc/includes/esprfound_md.md‎

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1 @@
1-
---
2-
translation.priority.ht:
3-
- "cs-cz"
4-
- "de-de"
5-
- "es-es"
6-
- "fr-fr"
7-
- "it-it"
8-
- "ja-jp"
9-
- "ko-kr"
10-
- "pl-pl"
11-
- "pt-br"
12-
- "ru-ru"
13-
- "tr-tr"
14-
- "zh-cn"
15-
- "zh-tw"
16-
---
171
Team Foundation

0 commit comments

Comments
 (0)