Skip to content

Commit 78f5c25

Browse files
authored
TUNING.md: mention --no-check-unused-templates and --file-filter [skip ci] (#7816)
1 parent 35dc425 commit 78f5c25

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

TUNING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,18 @@ So if you do not require the additional safety you might want to switch to the u
111111

112112
Note: For Windows binaries we currently do not provide the possibility of using processes so this does not apply.
113113

114+
### Disable Analyzing Of Unused Templated Functions
115+
116+
Currently all templated functions (either locally or in headers) will be analyzed regardless if they are instantiated or not. If you have template-heavy includes that might lead to unnecessary work and findings, and might slow down the analysis. This behavior can be disabled with `--no-check-unused-templates`.
117+
118+
Note: This might lead to "false negatives" in such functions if they are never instantiated. You should make sure that you have proper coverage of the affected functions in your code before enabling this.
119+
120+
### Limit Analysis Of Projects
121+
122+
If you specify a project all files will be analyzed by default. But in some cases you might only be interested in the results in a subset of those (e.g. in IDE integrations).
123+
124+
Using the `--file-filter=<pattern>` CLI option you can select files using a globbing syntax. Using `--file-filter=-` you can provide the filters directly on the CLI.
125+
114126
## Advanced Tuning
115127

116128
### Re-order The Files

0 commit comments

Comments
 (0)