Skip to content

Commit edec52c

Browse files
authored
Merge pull request #4556 from MicrosoftDocs/main
10/3 AM Publishing
2 parents 4f20ea7 + e433899 commit edec52c

12 files changed

+967
-627
lines changed

docs/build/reference/scandependencies.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ helpviewer_keywords: ["/scanDependencies compiler option", "/scanDependencies"]
99
---
1010
# `/scanDependencies` (List module dependencies in standard form)
1111

12-
This compiler option generates a JSON file that lists module and header-unit dependencies according to C++ Standard proposal [`P1689R4 Format for describing dependencies of source files`](https://wg21.link/P1689r4).
12+
This compiler option generates a JSON file that lists module and header-unit dependencies according to C++ Standard proposal [`P1689R5 Format for describing dependencies of source files`](https://wg21.link/P1689r5).
1313

1414
## Syntax
1515

@@ -34,7 +34,7 @@ The **`/scanDependencies`** compiler option identifies which dependencies, modul
3434

3535
This command-line option is similar to [`/sourceDependencies:directives`](sourcedependencies-directives.md) and [`/sourceDependencies`](sourcedependencies.md), but differs in the following ways:
3636

37-
- The output uses the [`P1689R4`](https://wg21.link/P1689r4) schema, instead of the Microsoft-specific schema generated by **`/sourceDependencies:directives`**.
37+
- The output uses the [`P1689R5`](https://wg21.link/P1689r5) schema, instead of the Microsoft-specific schema generated by **`/sourceDependencies:directives`**.
3838
- Unlike **`/sourceDependencies`**, the compiler doesn't produce compiled output. Instead, the files are scanned for module directives. No compiled code, modules, or header units are produced.
3939
- The output JSON file doesn't list imported modules and imported header units (*`.ifc`* files) because this option only scans the project files. There are no built modules or header units to list.
4040
- Only directly imported modules or header units are listed. It doesn't list the dependencies of the imported modules or header units themselves.
@@ -49,7 +49,7 @@ When a non-fatal compiler error occurs, the dependency information still gets wr
4949

5050
All file paths appear as absolute paths in the output.
5151

52-
For details on the format and schema used in the output JSON file, see [`P1689R4`](https://wg21.link/P1689r4#_format) section 6.
52+
For details on the format and schema used in the output JSON file, see [`P1689R5`](https://wg21.link/P1689r5#_format) section 6.
5353

5454
### Examples
5555

docs/build/walkthrough-header-units.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,4 @@ Enabling the new preprocessor affects the processing of variadic macros. For mor
156156
[`/headerUnit`](./reference/headerunit.md)\
157157
[`header-units.json`](./reference/header-unit-json-reference.md)\
158158
[Overview of modules in C++](../cpp/modules-cpp.md)\
159-
[Walkthrough: Import STL libraries as header units](walkthrough-import-stl-header-units.md#approach1)
159+
[Walkthrough: Import STL libraries as header units](walkthrough-import-stl-header-units.md#approach1)

docs/overview/what-s-new-for-visual-cpp-in-visual-studio.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ For a summary of new features and bug fixes in Visual Studio in version 17.2, se
5757
- We've added thread awareness for device targets to the call stack window.
5858
- Users can now select a pin icon next to peripherals, registers, or fields to pin them the top of the Peripheral View.
5959

60-
- We've added implementations of the remaining C++20 defect reports (also known as *backports*). All C++20 features are now available under the **`/std:c++20 `** option. For more information about the implemented backports, see the [C++20 Defect Reports project](https://github.com/microsoft/STL/projects/9) in the Microsoft/STL GitHub repository and the [MSVC's STL Completes `/std:c++20`](https://devblogs.microsoft.com/cppblog/msvcs-stl-completes-stdc20/) blog post.
60+
- We've added implementations of the remaining C++20 defect reports (also known as *backports*). All C++20 features are now available under the **`/std:c++20`** option. For more information about the implemented backports, see the [C++20 Defect Reports project](https://github.com/microsoft/STL/projects/9) in the Microsoft/STL GitHub repository and the [MSVC's STL Completes `/std:c++20`](https://devblogs.microsoft.com/cppblog/msvcs-stl-completes-stdc20/) blog post.
6161

6262
- We added various C++23 Library features, available under the **`/std:c++latest`** option. For more information about the new features, see the [STL Repo changelog](https://github.com/microsoft/STL/wiki/Changelog).
6363

6464
- Improved performance of the initial C++ indexing by up to 20%, depending on the depth of the include graph.
6565

6666
## What's new for C++ in Visual Studio version 17.1
6767

68-
For a summary of new features and bug fixes in Visual Studio in version `7.`, see [Visual Studio 2022 version 17.1 Release Notes](/visualstudio/releases/2022/release-notes-v17.1).
68+
For a summary of new features and bug fixes in Visual Studio in version 17.1, see [Visual Studio 2022 version 17.1 Release Notes](/visualstudio/releases/2022/release-notes-v17.1).
6969

7070
- A new **Configure Preset** template has been added to configure and build CMake projects on a remote macOS system with *`CMakePresets.json`*. You can also launch CMake targets on a remote macOS system, and then debug remotely in the Visual Studio debugger backed by GDB or LLDB.
7171

@@ -113,7 +113,7 @@ In Visual Studio 2022, when you start your app in the debugger, you can use the
113113

114114
- The Project menu in CMake projects has been streamlined and exposes options to "Delete Cache and Reconfigure" and "View Cache".
115115

116-
- Implemented the **`/scanDependencies`** compiler option to list C++20 module dependencies for CMake projects, as described in [P1689R4](https://wg21.link/P1689r4). It's a step towards support for building modules-based projects with CMake and we're working on completing this support in later releases.
116+
- Implemented the **`/scanDependencies`** compiler option to list C++20 module dependencies for CMake projects, as described in [P1689R5](https://wg21.link/P1689r5). It's a step towards support for building modules-based projects with CMake and we're working on completing this support in later releases.
117117

118118
### Standard Library improvements
119119

0 commit comments

Comments
 (0)