ReSharper
 
Get ReSharper
You are viewing the documentation for an earlier version of ReSharper.

Analysis of Includes

Last modified: 21 July 2022

ReSharper | Inspect | Analyze Includes in Current Project

ReSharper | Inspect | Analyze Includes in Solution

Long build times caused by huge hierarchies of includes is one of the biggest problems in large real-world C++ projects. ReSharper has a few features to help you with optimizing includes in design time. For example, it will mark unused #include directives or automatically create forward declarations for unresolved names instead of including the headers with the required declarations.

To address the includes hierarchies problem in a more systematic way, ReSharper provides Includes Analyzer, a code inspection tool that helps you locate and eliminate unnecessary header dependencies.