Skip to content

Repo sync for protected CLA branch #3174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/build/reference/property-page-xml-files.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ First, let's open the property pages for a project. Right-click on the project n

![Shows the Visual Studio C++ Project Properties dialog](../media/cpp-property-page-2017.png)

Each node under **Configuration Properties** is called a *rule*. A rule sometimes represents a single tool like the compiler. In general, the term refers to something that has properties, that executes and that may produce some output. Each rule is populated from an XML file in the default rules folder. For example, the C/C++ rule that's shown here is populated by *`cl.xml'*.
Each node under **Configuration Properties** is called a *rule*. A rule sometimes represents a single tool like the compiler. In general, the term refers to something that has properties, that executes and that may produce some output. Each rule is populated from an XML file in the default rules folder. For example, the C/C++ rule that's shown here is populated by *`cl.xml`*.

Each rule has a set of properties, which are organized into *categories*. Each sub-node under a rule represents a category. For example, the **Optimization** node under **C/C++** contains all the optimization-related properties of the compiler tool. The properties and their values get rendered in a grid format on the right pane.

Expand Down
2 changes: 1 addition & 1 deletion docs/error-messages/compiler-warnings/c5050.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The compiler raises C5050 for both of these cases:
```cmd
warning C5050: Possible incompatible environment while
importing module 'm': mismatched C++ versions.
Current "201402" module version "201703"`.
Current "201402" module version "201703".
```

To resolve the issue, use the same compiler command line options for both the module and the consuming code.
2 changes: 1 addition & 1 deletion docs/mfc/reference/cmfcribbonfontcombobox-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ BOOL SetFont(

### Parameters

`lpszName*
*lpszName*\
Specifies the name of the font to select.

*nCharSet*<br/>
Expand Down
2 changes: 1 addition & 1 deletion docs/mfc/reference/cview-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ virtual BOOL OnDrop(

### Parameters

*`pDataObject`*
*`pDataObject`*\
Points to the [`COleDataObject`](../../mfc/reference/coledataobject-class.md) that is dropped into the drop target.

*`dropEffect`*<br/>
Expand Down
2 changes: 1 addition & 1 deletion docs/overview/cpp-conformance-improvements-2017.md
Original file line number Diff line number Diff line change
Expand Up @@ -1909,7 +1909,7 @@ The compiler raises C5050 for both of these cases:
```Output
warning C5050: Possible incompatible environment while
importing module 'm': mismatched C++ versions.
Current "201402" module version "201703"`.
Current "201402" module version "201703".
```

The compiler also raises [C7536](../error-messages/compiler-errors-2/compiler-error-c7536.md) whenever the *`.ifc`* file has been tampered with. The header of the module interface contains an SHA2 hash of the contents below it. On import, the *`.ifc`* file is hashed, then checked against the hash provided in the header. If these don't match, error C7536 is raised:
Expand Down
2 changes: 1 addition & 1 deletion docs/overview/cpp-conformance-improvements.md
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,7 @@ int main()
This program previously incorrectly compiled and linked, but will now emit error C7631.

```Output
error C7631: '`anonymous-namespace'::x': variable with internal linkage declared but not defined
error C7631: 'anonymous-namespace::x': variable with internal linkage declared but not defined
```

Such variables must be defined in the same translation unit they're used in. For example, you can provide an explicit initializer or a separate definition.
Expand Down
22 changes: 11 additions & 11 deletions docs/parallel/amp/reference/extent-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ The rank of the `extent` object.

## <a name="contains"></a> contains

Indicates whether the specified [index](index-class.md) value is contained within the `extent' object.
Indicates whether the specified [index](index-class.md) value is contained within the `extent` object.

### Syntax

Expand All @@ -91,7 +91,7 @@ The `index` value to test.

## <a name="ctor"></a> extent

Initializes a new instance of the `extent' class.
Initializes a new instance of the `extent` class.

### Syntax

Expand Down Expand Up @@ -132,7 +132,7 @@ If an array is used to construct an `extent` object, the length of the array mus

## <a name="operator_mod_eq"></a> operator%=

Calculates the modulus (remainder) of each element in the `extent' when that element is divided by a number.
Calculates the modulus (remainder) of each element in the `extent` when that element is divided by a number.

### Syntax

Expand All @@ -151,7 +151,7 @@ The `extent` object.

## <a name="operator_star_eq"></a> operator*=

Multiplies each element in the `extent' object by the specified number.
Multiplies each element in the `extent` object by the specified number.

### Syntax

Expand Down Expand Up @@ -189,7 +189,7 @@ The new `extent` object.

## <a name="operator_add_add"></a> operator++

Increments each element of the `extent' object.
Increments each element of the `extent` object.

### Syntax

Expand All @@ -204,7 +204,7 @@ For the prefix operator, the `extent` object (**`*this`**). For the suffix opera

## <a name="operator_add_eq"></a> operator+=

Adds the specified number to each element of the `extent' object.
Adds the specified number to each element of the `extent` object.

### Syntax

Expand Down Expand Up @@ -244,7 +244,7 @@ The new `extent` object.

## <a name="operator_min_min"></a> operator--

Decrements each element in the `extent' object.
Decrements each element in the `extent` object.

### Syntax

Expand All @@ -259,7 +259,7 @@ For the prefix operator, the `extent` object (**`*this`**). For the suffix opera

## <a name="operator_div_eq"></a> operator/=

Divides each element in the `extent' object by the specified number.
Divides each element in the `extent` object by the specified number.

### Syntax

Expand All @@ -278,7 +278,7 @@ The `extent` object.

## <a name="operator_min_eq"></a> operator-=

Subtracts the specified number from each element of the `extent' object.
Subtracts the specified number from each element of the `extent` object.

### Syntax

Expand All @@ -299,7 +299,7 @@ The resulting `extent` object.

## <a name="operator_eq"></a> operator=

Copies the contents of another `extent' object into this one.
Copies the contents of another `extent` object into this one.

### Syntax

Expand Down Expand Up @@ -338,7 +338,7 @@ The element that's at the specified index.

## <a name="rank_constant"></a> rank

Stores the rank of the `extent' object.
Stores the rank of the `extent` object.

### Syntax

Expand Down
2 changes: 1 addition & 1 deletion docs/porting/visual-cpp-change-history-2003-2015.md
Original file line number Diff line number Diff line change
Expand Up @@ -2204,7 +2204,7 @@ Although these differences can affect your source code or other build artifacts,
When this new behavior parses a **`decltype`** expression that includes a type that hasn't been declared yet, the compiler issues compiler error C2039 as a result.

```Output
error C2039: 'type': is not a member of '`global namespace''
error C2039: 'type': is not a member of 'global namespace'
```

Example 1: use of an undeclared type (before)
Expand Down
4 changes: 2 additions & 2 deletions docs/porting/visual-cpp-what-s-new-2003-through-2015.md
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ Although these differences can affect your source code or other build artifacts,
When this new behavior parses a **`decltype`** expression that includes a type that has not yet been declared, the compiler issues compiler error C2039 as a result.

```Output
error C2039: 'type': is not a member of '`global namespace''
error C2039: 'type': is not a member of 'global namespace'
```

Example 1: use of an undeclared type (before)
Expand Down Expand Up @@ -2005,7 +2005,7 @@ __sptr, __uptr

The compiler has breaking changes in this release.

- `64-bit native and cross-compilers.
- 64-bit native and cross-compilers.
- `/analyze` (Enterprise Code Analysis) compiler option has been added.
- `/bigobj` compiler option has been added.
- `/clr:pure`, `/clr:safe`, and `/clr:oldSyntax` have been added. (Later deprecated in Visual Studio 2015 and removed in Visual Studio 2017.)
Expand Down
2 changes: 1 addition & 1 deletion docs/preprocessor/hdrstop.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ If none of the **`/Yc`** and **`/Yu`** options or the **`hdrstop`** pragma speci
You can also use preprocessing commands to perform macro replacement as follows:

```C
#define INCLUDE_PATH "c:\\progra~`1\\devstsu~1\\vc\\include\\"
#define INCLUDE_PATH "c:\\progra~1\\devstsu~1\\vc\\include\\"
#define PCH_FNAME "PROG.PCH"
.
.
Expand Down
2 changes: 1 addition & 1 deletion docs/standard-library/chrono-literals.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The literals that take a **`long long`** argument return a value or the correspo
The following examples show how to use the `chrono` literals.

```cpp
constexpr auto day = 14d; // If the value > 255`, then the stored value is unspecified.
constexpr auto day = 14d; // If the value > 255, then the stored value is unspecified.
constexpr auto twoDays = 48h;
constexpr auto week = 24h* 7;
constexpr auto my_duration_unit = 108ms;
Expand Down
2 changes: 1 addition & 1 deletion docs/standard-library/valarray.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Defines the class template valarray and numerous supporting class templates and
**Namespace:** std

> [!NOTE]
> The \<valarray> library uses the `#include <initializer_list>' statement.
> The \<valarray> library uses the `#include <initializer_list>` statement.

## Remarks

Expand Down