Skip to content

Commit f9462a7

Browse files
TylerMSFTTylerMSFT
authored andcommitted
acrolinx
1 parent a3357cd commit f9462a7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/ide/include-cleanup-messages.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@ Starting with Visual Studio 17.7 preview 3, Visual Studio can clean up your `#in
1515

1616
This article describes the messages that you may see from the include cleanup feature. For more information about include cleanup, see [C/C++ include cleanup overview](include-cleanup-overview.md).
1717

18-
Include cleanup offers actions you can take via suggestions, warnings, or errors in the Error List window. You determine which based on settings in Visual Studio tools options. For more details, see [Config C/C++ include cleanup in Visual Studio](include-cleanup-config.md).
18+
Include cleanup offers actions you can take via suggestions, warnings, or errors in the Error List window. The message is the same, but you can choose the specific form it takes based on settings in Visual Studio tools options. For more information, see [Config C/C++ include cleanup in Visual Studio](include-cleanup-config.md).
1919

2020
In the following screenshot of the Error List, include cleanup is configured to show unused headers with a warning:
2121

2222
:::image type="complex" source="media/include-cleanup-error-list.png" alt-text="A screenshot of the Error List window.":::
2323
The dropdown filter is set to Build + IntelliSense. A warning is visible: VCIC002 - #include < iostream > isn't used in this file."
2424
:::image-end:::
2525

26-
The following describes the messages that you may see from include cleanup:
26+
These are the messages that you may see from include cleanup:
2727

2828
## `VCIC001`: Content from #include is used in this file and transitively included
2929

30-
This message means that you are using content from a header file that is included indirectly. For example, you may be directly including a header file and that header file may `#include <string>`. If you use `string` in your code, but don't actually `#include <string>` yourself, it will work as long as the other header file continues to indirectly include `<string>` for you. That's an undesirable situation and this message identifies that this is going on in your code. See [Direct vs indirect headers](include-cleanup-overview.md#direct-vs-indirect-headers) for more information.
30+
This message means that you're using content from a header file that is included indirectly. For example, you may be directly including a header file and that header file may `#include <string>`. If you use `string` in your code, but don't actually `#include <string>` yourself, it works as long as the other header file continues to indirectly include `<string>` for you. This message identifies that this is going on in your code. See [Direct vs indirect headers](include-cleanup-overview.md#direct-vs-indirect-headers) for more information.
3131

3232
## `VCIC002`: #include is not used in this file
3333

34-
This indicates that the specified header file is not used in the current file. You can remove the `#include` directive.
34+
This message indicates that the specified header file is not used in the current file. You can remove the `#include` directive.
3535

3636
## See also
3737

0 commit comments

Comments
 (0)