Skip to content

Commit a816923

Browse files
TylerMSFTTylerMSFT
authored andcommitted
add author metadata
1 parent b3fcc74 commit a816923

File tree

7 files changed

+24
-7
lines changed

7 files changed

+24
-7
lines changed

docs/build/header-unit-json-reference.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
description: "Reference for header-units.json file"
33
title: "C++ header unit.json reference"
44
ms.date: "4/13/2021"
5+
author: "tylermsft"
6+
ms.author: "twhitney"
57
f1_keywords: ["header-units.json"]
68
helpviewer_keywords: ["header-units.json", "header unit"]
9+
author: "tylermsft"
10+
ms.author: "twhitney"
711
---
812

913
# C++ header-units.json reference
@@ -34,6 +38,7 @@ The schema also supports comments, as shown below:
3438
"bitset",
3539
// "cassert", // design is not compatible with header units
3640
...
41+
}
3742
```
3843

3944
## Search rules

docs/build/reference/headername.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: "/headerName (Build a header unit from the specified header)"
33
description: "Use the /headerName compiler option to establish a mapping between a header file and the header unit to build."
44
ms.date: 04/13/2021
5+
author: "tylermsft"
6+
ms.author: "twhitney"
57
f1_keywords: ["/headerName"]
68
helpviewer_keywords: ["/headerName", "Use header unit IFC"]
79
---

docs/build/reference/headerunit.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ description: "Use the /headerUnit compiler option to associate a header file wit
44
ms.date: 04/13/2021
55
f1_keywords: ["/headerUnit"]
66
helpviewer_keywords: ["/headerUnit", "Use header unit IFC"]
7+
author: "tylermsft"
8+
ms.author: "twhitney"
79
---
810
# `/headerUnit` (Use header unit IFC)
911

@@ -41,7 +43,7 @@ The compiler can't map a single *`header-name`* to multiple IFC files. While map
4143

4244
The compiler implicitly enables the new preprocessor when this switch is used. That is, [`/Zc:preprocessor`](zc-preprocessor.md) is added to the command line by the compiler if any form of `/headerUnit` is specified on the command line. To opt out of the implicit `/Zc:preprocessor`, specify: `/Zc:preprocessor-`
4345

44-
If you disable the new preprocessor but a file you compile imports a header unit, the compiler will report an error.
46+
If you disable the new preprocessor, but a file you compile imports a header unit, the compiler will report an error.
4547

4648
### Examples
4749

docs/build/reference/module-exportheader.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: "/exportHeader (Create header units)"
33
description: "Use the /exportHeader compiler option to create module header units for the header-name or include files specified."
44
ms.date: 04/13/2020
5+
author: "tylermsft"
6+
ms.author: "twhitney"
57
f1_keywords: ["/exportHeader"]
68
helpviewer_keywords: ["/exportHeader", "Create header units"]
79
---
@@ -33,7 +35,7 @@ By default, the compiler doesn't produce an object file when a header unit is co
3335

3436
You may find it helpful to use the complementary option **`/showResolvedHeader`**. The **`/showResolvedHeader`** option prints an absolute path to the file the *`header-name`* argument resolves to.
3537

36-
**`/exportHeader`** can handle multiple inputs at once even under **`/MP`**. We recommended you use **`/ifcOutput <directory>`** to create a separate *`.ifc`* file for each compilation.
38+
**`/exportHeader`** can handle multiple inputs at once, even under **`/MP`**. We recommended you use **`/ifcOutput <directory>`** to create a separate *`.ifc`* file for each compilation.
3739

3840
### Examples
3941

docs/build/reference/sourcedependencies-directives.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: "/sourceDependencies:directives (Report source-level dependencies and use an allowlist)"
33
description: "Reference guide to the /sourceDependencies:directives compiler option in Microsoft C++."
44
ms.date: 04/13/2020
5+
author: "tylermsft"
6+
ms.author: "twhitney"
57
f1_keywords: ["/sourceDependencies:directives"]
68
helpviewer_keywords: ["/sourceDependencies:directives compiler option", "/sourceDependencies:directives"]
79
---
@@ -13,17 +15,17 @@ This command-line option is similar to [`/sourceDependencies`](sourcedependencie
1315

1416
- Unlike `/sourceDependencies`, the compiler doesn't produce compiled output. Instead, the files are scanned for module directives, but no compiled code, modules, or header units are produced.
1517
- Unlike `/sourceDependencies`, the output JSON file doesn't list imported modules and imported header units (`.ifc` files) because this switch does a scan of the project files, not a compilation, so there are no built modules or header units to import.
16-
- `/sourceDependencies:directives`is designed to be used before `.ifc` files are built.
18+
- `/sourceDependencies:directives`is designed to be used before *`.ifc`* files are built.
1719

1820
## Syntax
1921

2022
> **`/sourceDependencies:directives[-]`** *filename*\
21-
> **`/sourceDependencies:directives[-]`** *directory*\
23+
> **`/sourceDependencies:directives[-]`** *directory*
2224
2325
## Arguments
2426

2527
*`-`*\
26-
If the single dash is provided, then the compiler will emit the source dependencies JSON to `stdout` or where the compiler output is redirected to.
28+
If the single dash is provided, then the compiler will emit the source dependencies JSON to `stdout`, or to where compiler output is redirected to.
2729

2830
*`filename`*\
2931
The compiler writes the source dependency output to the specified filename, which may include a relative or absolute path.\

docs/build/reference/sourcedependencies.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
title: "/sourceDependencies (Report source-level dependencies)"
33
description: "Reference guide to the /sourceDependencies compiler option in Microsoft C++."
44
ms.date: 04/13/2020
5+
author: "tylermsft"
6+
ms.author: "twhitney"
57
f1_keywords: ["/sourceDependencies"]
68
helpviewer_keywords: ["/sourceDependencies compiler option", "/sourceDependencies"]
79
---
@@ -11,7 +13,7 @@ This command-line switch generates a JSON file that details the source-level dep
1113

1214
- Header files (both transitive and directly included headers).
1315
- The PCH used (if **`/Yu`** is specified).
14-
- Imported modules and imported header units (both transitive and directly imported modules/header units).
16+
- Imported modules and imported header units (both transitive and directly imported module/header units).
1517

1618
## Syntax
1719

@@ -21,7 +23,7 @@ This command-line switch generates a JSON file that details the source-level dep
2123
## Arguments
2224

2325
*`-`*\
24-
If the single dash is provided, then the compiler will emit the source dependencies JSON to `stdout` or where the compiler output is redirected to.
26+
If the single dash is provided, then the compiler will emit the source dependencies JSON to `stdout`, or to where compiler output is redirected to.
2527

2628
*`filename`*\
2729
The compiler writes the source dependency output to the specified filename, which may include a relative or absolute path.\

docs/build/walkthrough-header-units.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ description: "Learn more about C++ header units by converting a header file to a
33
title: "Walkthrough: Build and import header units in Microsoft Visual C++ projects"
44
ms.date: "4/13/2021"
55
ms.custom: "conceptual"
6+
author: "tylermsft"
7+
ms.author: "twhitney"
68
helpviewer_keywords: ["import", "header unit", "ifc", "stl"]
79
---
810

0 commit comments

Comments
 (0)