Skip to content

Commit 220b690

Browse files
authored
Merge pull request #5770 from MicrosoftDocs/FromPublicMasterBranch
Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main)
2 parents 00140a3 + 5a00408 commit 220b690

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

docs/cpp/stdcall.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ The **`__stdcall`** calling convention is used to call Win32 API functions. The
1313
## Syntax
1414

1515
> *return-type* **`__stdcall`** *function-name*[**`(`** *argument-list* **`)`**]
16+
>
17+
> **`auto`** **`__stdcall`** *function-name*[**`(`** *argument-list* **`)`**] [ **`->`** *return-type* ]
1618
1719
## Remarks
1820

docs/mfc/reference/ctaskdialog-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ virtual HRESULT OnHelp();
685685

686686
### Return Value
687687

688-
The default implementation returns S_OK.
688+
The default implementation returns S_FALSE.
689689

690690
### Remarks
691691

docs/sanitizers/asan.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ This article covers the information you require to enable the three workflows li
8484
8585
## <a name="command-prompt"></a> Use AddressSanitizer from a developer command prompt
8686

87-
Use the **`/fsanitize=address`** compiler option in a [developer command prompt](../build/building-on-the-command-line.md#developer_command_prompt_shortcuts) to enable compiling for the AddressSanitizer runtime. The **`/fsanitize=address`** option is compatible with all existing C++ or C optimization levels (for example, `/Od`, `/O1`, `/O2`, `/O2 /GL`, and `PGO`). The option works with static and dynamic CRTs (for example, `/MD`, `/MDd`, `/MT`, and `/MTd`). It works whether you create an EXE or a DLL. Debug information is required for optimal formatting of call stacks. In the following example, `cl /fsanitize=address /Zi` is passed on the command line.
87+
Use the **`/fsanitize=address`** compiler option in a [developer command prompt](../build/building-on-the-command-line.md#developer_command_prompt_shortcuts) to enable compiling for the AddressSanitizer runtime. The **`/fsanitize=address`** option is compatible with existing C++ or C optimization levels (for example, `/Od`, `/O1`, `/O2`, and `/O2 /GL`). The option works with static and dynamic CRTs (for example, `/MD`, `/MDd`, `/MT`, and `/MTd`). It works whether you create an EXE or a DLL. Debug information is required for optimal formatting of call stacks. In the following example, `cl /fsanitize=address /Zi` is passed on the command line.
88+
89+
> [!NOTE]
90+
> AddressSanitizer doesn't support Profile-guided optimization (PGO). AddressSanitizer shouldn't be used in production.
8891
8992
The AddressSanitizer libraries (.lib files) are linked for you automatically. For more information, see [AddressSanitizer language, build, and debugging reference](asan-building.md).
9093

0 commit comments

Comments
 (0)