Skip to content

Commit 94385a7

Browse files
authored
Merge pull request #4267 from MicrosoftDocs/main638034427161197717sync_temp
Repo sync for protected CLA branch
2 parents 4a33a65 + c09e939 commit 94385a7

File tree

53 files changed

+53
-143
lines changed

Some content is hidden

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

53 files changed

+53
-143
lines changed

docs/atl/reference/iperpropertybrowsingimpl-class.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ This class implements `IUnknown` and allows a client to access the information i
1616
## Syntax
1717

1818
```
19-
2019
template <class T>
2120
class ATL_NO_VTABLE IPerPropertyBrowsingImpl :
2221
public IPerPropertyBrowsing

docs/build/open-folder-projects-cpp.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ This creates (or opens) the *tasks.vs.json* file in the .vs folder which Visual
147147
}
148148
]
149149
}
150-
151150
```
152151

153152
The JSON file is placed in the *.vs* subfolder. To see that folder, click on the **Show All Files** button at the top of **Solution Explorer**. You can run this task by right-clicking on the root node in **Solution Explorer** and choosing **build hello**. When the task completes you should see a new file, *hello.exe* in **Solution Explorer**.
@@ -194,7 +193,6 @@ To customize your program's command line arguments and debugging instructions, r
194193
}
195194
]
196195
}
197-
198196
```
199197

200198
To start debugging, choose the executable in the debug dropdown, then click the green arrow:

docs/build/reference/allowbind.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ ms.assetid: eaadbb8c-4339-4281-9a75-3a1ce2352ff8
1111
Specifies whether a DLL can be bound.
1212

1313
```
14-
1514
/ALLOWBIND[:NO]
1615
```
1716

docs/build/reference/allowisolation.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Specifies behavior for manifest lookup.
1313
## Syntax
1414

1515
```
16-
1716
/ALLOWISOLATION[:NO]
1817
```
1918

docs/build/reference/appcontainer.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ ms.assetid: 0ca4f1ec-c8de-4a37-b3e2-deda7af0bb88
1111
Marks an executable that must run in an app container—for example, a Microsoft Store or Universal Windows app.
1212

1313
```
14-
1514
/APPCONTAINER[:NO]
1615
```
1716

docs/c-language/generic-selection.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ int main()
6767
/* Output:
6868
Type name: double
6969
*/
70-
7170
```
7271

7372
## Requirements

docs/code-quality/c26117.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Enforcement of syntactically scoped lock *acquire* and lock *release* pairs in C
1717
The following example generates warning C26117 because the function `ReleaseUnheldLock` releases a lock that it doesn't necessarily hold—the state of `flag` is ambiguous—and there's no annotation that specifies that it should.
1818

1919
```cpp
20-
2120
typedef struct _DATA
2221
{
2322
CRITICAL_SECTION cs;
@@ -37,7 +36,6 @@ void ReleaseUnheldLock(DATA* p)
3736
The following code fixes the problem by guaranteeing that the released lock is also acquired under the same conditions.
3837
3938
```cpp
40-
4139
typedef struct _DATA
4240
{
4341
CRITICAL_SECTION cs;

docs/code-quality/c26138.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ Code analysis name: `SUSPENDED_WITH_LOCK`
2020
The following code will generate C26138.
2121

2222
```cpp
23-
2423
#include <experimental/generator>
2524
#include <future>
2625
#include <mutex>
@@ -49,7 +48,6 @@ generator<int> mutex_acquiring_generator_report_once() {
4948
The following code will correct these warnings.
5049
5150
```cpp
52-
5351
#include <experimental/generator>
5452
#include <future>
5553
#include <mutex>

docs/code-quality/c26160.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Warning C26160 resembles warning [C26110](../code-quality/c26110.md) except that
1717
The following code generates warning C26160.
1818

1919
```cpp
20-
2120
struct Account
2221
{
2322
_Guarded_by_(cs) int balance;
@@ -49,7 +48,6 @@ struct Account
4948
The following code shows a solution to the previous example.
5049
5150
```cpp
52-
5351
struct Account
5452
{
5553
_Guarded_by_(cs) int balance;

docs/code-quality/c26165.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Warning C26165 resembles warning [C26115](../code-quality/c26115.md) except that
1717
The following code generates warning C26165.
1818

1919
```cpp
20-
2120
_Create_lock_level_(LockLevelOne);
2221
_Create_lock_level_(LockLevelTwo);
2322

@@ -45,7 +44,6 @@ void testLockLevelledStruct(LockLevelledStruct* s) // Warning C26165
4544
To correct this warning, change the previous example to the following.
4645
4746
```cpp
48-
4947
_Create_lock_level_(LockLevelOne);
5048
_Create_lock_level_(LockLevelTwo);
5149

0 commit comments

Comments
 (0)