Skip to content

Commit 068cb24

Browse files
authored
uuf fixes (#6021)
1 parent a8cf346 commit 068cb24

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

docs/build/x64-calling-convention.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ If parameters are passed via varargs (for example, ellipsis arguments), then the
9393

9494
For functions not fully prototyped, the caller passes integer values as integers and floating-point values as double precision. For floating-point values only, both the integer register and the floating-point register contain the float value in case the callee expects the value in the integer registers.
9595

96-
```cpp
96+
```c
9797
func1();
9898
func2() { // RCX = 2, RDX = XMM1 = 1.0, and R8 = 7
9999
func1(2, 1.0, 7);

docs/cpp/how-to-create-and-use-ccomptr-and-ccomqiptr-instances.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ description: "Learn more about: How to: Create and use CComPtr and CComQIPtr ins
33
title: "How to: Create and use CComPtr and CComQIPtr instances"
44
ms.custom: "how-to"
55
ms.date: "11/19/2019"
6-
ms.assetid: b0356cfb-12cc-4ee8-b988-8311ed1ab5e0
76
---
87
# How to: Create and use CComPtr and CComQIPtr instances
98

@@ -19,7 +18,7 @@ The following example shows how to use `CComPtr` to instantiate a COM object and
1918

2019
`CComPtr` and its relatives are part of the ATL and are defined in \<atlcomcli.h>. `_com_ptr_t` is declared in \<comip.h>. The compiler creates specializations of `_com_ptr_t` when it generates wrapper classes for type libraries.
2120

22-
## Example: CComQIPt
21+
## Example: CComQIPtr
2322

2423
ATL also provides `CComQIPtr`, which has a simpler syntax for querying a COM object to retrieve an additional interface. However, we recommend `CComPtr` because it does everything that `CComQIPtr` can do and is semantically more consistent with raw COM interface pointers. If you use a `CComPtr` to query for an interface, the new interface pointer is placed in an out parameter. If the call fails, an HRESULT is returned, which is the typical COM pattern. With `CComQIPtr`, the return value is the pointer itself, and if the call fails, the internal HRESULT return value cannot be accessed. The following two lines show how the error handling mechanisms in `CComPtr` and `CComQIPtr` differ.
2524

docs/cpp/lvalues-and-rvalues-visual-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ An lvalue has an address that your program can access. Examples of lvalue expres
2727

2828
A prvalue expression has no address that is accessible by your program. Examples of prvalue expressions include literals, function calls that return a nonreference type, and temporary objects that are created during expression evaluation but accessible only by the compiler.
2929

30-
An xvalue expression has an address that no longer accessible by your program but can be used to initialize an rvalue reference, which provides access to the expression. Examples include function calls that return an rvalue reference, and the array subscript, member and pointer to member expressions where the array or object is an rvalue reference.
30+
An xvalue expression has an address that is no longer accessible by your program but can be used to initialize an rvalue reference, which provides access to the expression. Examples include function calls that return an rvalue reference, and the array subscript, member and pointer to member expressions where the array or object is an rvalue reference.
3131

3232
## Example
3333

docs/parallel/openmp/reference/openmp-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ For main thread and synchronization:
2828
|[master](#master)|Specifies that only the main thread should execute a section of the program.|
2929
|[critical](#critical)|Specifies that code is only executed on one thread at a time.|
3030
|[barrier](#barrier)|Synchronizes all threads in a team; all threads pause at the barrier, until all threads execute the barrier.|
31-
|[atomic](#atomic)|Specifies that a memory location that will be updated atomically.|
31+
|[atomic](#atomic)|Specifies that a memory location will be updated atomically.|
3232
|[flush](#flush-openmp)|Specifies that all threads have the same view of memory for all shared objects.|
3333
|[ordered](#ordered-openmp-directives)|Specifies that code under a parallelized `for` loop should be executed like a sequential loop.|
3434

docs/preprocessor/optimize.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: "Learn more about: optimize pragma"
33
title: "optimize pragma"
4-
ms.date: 01/22/2021
4+
ms.date: 07/25/2025
55
f1_keywords: ["vc-pragma.optimize", "optimize_CPP"]
66
helpviewer_keywords: ["pragma, optimize", "optimize pragma"]
77
no-loc: ["pragma"]
@@ -25,8 +25,8 @@ The *optimization-list* can be zero or more of the parameters shown in the follo
2525
| Parameter(s) | Type of optimization |
2626
|--------------------|--------------------------|
2727
| **`g`** | Enable global optimizations. Deprecated. For more information, see [`/Og` (Global optimizations)](../build/reference/og-global-optimizations.md). |
28-
| **`s`** or **`t`** | Specify short or fast sequences of machine code. |
29-
| **`y`** | Generate frame pointers on the program stack. |
28+
| **`s`** or **`t`** | Favor short or fast sequences of machine code. |
29+
| **`y`** | Omit frame pointers on the program stack. |
3030

3131
These parameters are the same letters used with the [`/O`](../build/reference/o-options-optimize-code.md) compiler options. For example, the following pragma is equivalent to the **`/Os`** compiler option:
3232

0 commit comments

Comments
 (0)