Skip to content

Commit 1fc3fbb

Browse files
committed
[analyzer] Remove -analyzer-opt-analyze-headers flag
Statistical analysis of C++20 headers seems to cause memory exhaustion with this analyzer option on. The analysis of ~5 open source projects shows no difference in the results that only differ in the passing or the omission of this flag.
1 parent 327070d commit 1fc3fbb

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

analyzer/codechecker_analyzer/analyzers/clangsa/statistics.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ def build_stat_coll_cmd(action, config, source):
4040
"-Xclang", "-load",
4141
"-Xclang", plugin])
4242

43-
cmd.extend(['-Xclang',
44-
'-analyzer-opt-analyze-headers'])
45-
4643
cmd.extend(config.analyzer_extra_arguments)
4744
cmd.extend(action.analyzer_options)
4845

0 commit comments

Comments
 (0)