Skip to content

Commit a80aad6

Browse files
authored
Merge pull request #4138 from MicrosoftDocs/FromPublicMasterBranch
Confirm merge from FromPublicMasterBranch to main to sync with https://github.com/MicrosoftDocs/cpp-docs (branch main)
2 parents 1fa1d97 + 95ab55c commit a80aad6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/code-quality/how-to-specify-additional-code-information-by-using-analysis-assume.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ helpviewer_keywords:
1212

1313
You can provide hints to the code analysis tool for C/C++ code that will help the analysis process and reduce warnings. To provide additional information, use the following function macro:
1414

15-
`_Analysis_assume( expr )`
15+
`_Analysis_assume_( expr )`
1616

1717
*`expr`* - any expression that is assumed to evaluate to true.
1818

docs/preprocessor/optimize.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The *optimization-list* can be zero or more of the parameters shown in the follo
2424

2525
| Parameter(s) | Type of optimization |
2626
|--------------------|--------------------------|
27-
| **`g`** | Enable global optimizations. |
27+
| **`g`** | Enable global optimizations. Deprecated. For more information, see [`/Og` (Global optimizations)](../build/reference/og-global-optimizations.md). |
2828
| **`s`** or **`t`** | Specify short or fast sequences of machine code. |
2929
| **`y`** | Generate frame pointers on the program stack. |
3030

0 commit comments

Comments
 (0)