include-what-you-use (also referred to as iwyu or Iwyu in other places in this documentation) is an open-source tool which allows you to ensure very strict checks on what you do and do not include in a C/C++ source file.
For a successful include-what-you-use
integration, the following prerequisites
must be met:
A mapping file can be added in any configuration directory that will be used by
TICS. This file must have the name iwyu_mapping.imp
and have the
specified content format. If no iwyu_mapping.imp
file is present
in the configuration, TICS will use a default file.
The contents of mapping files are better explained at include-what-you-use's own documentation. Specifically, an explanation of the contents of a mapping file can be found here: IWYUMappings