Miscellaneous-PCHIncludes

Add #includes for often-used files to precompiled header

Required inputs: IR

Headers that are included by more than the configured numbers of compilation units should be added to the precompiled header (PCH). This can improve compilation time.

Possible Messages

Key

Text

Severity

Disabled

add_file_to_pch

add file to PCH {} as it is used by {} clients

None

False

Options

min_pch_clients_for_include

min_pch_clients_for_include : int = 4

Adding a file to the PCH is only recommended if there are at least this many units using the file.