Skip to content

Commit 437675a

Browse files
authored
Merge pull request #6173 from thomasspriggs/tas/fix_doxygen_node_warnings
Fix doxygen "too many nodes" warning filter
2 parents 4dc2dd5 + 8be6cc3 commit 437675a

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

scripts/expected_doxygen_warnings.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +0,0 @@
1-
warning: Include graph for 'goto_instrument_parse_options.cpp' not generated, too many nodes (93), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
2-
warning: Included by graph for 'goto_model.h' not generated, too many nodes (95), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
3-
warning: Included by graph for 'arith_tools.h' not generated, too many nodes (167), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
4-
warning: Included by graph for 'c_types.h' not generated, too many nodes (128), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
5-
warning: Included by graph for 'config.h' not generated, too many nodes (79), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
6-
warning: Included by graph for 'invariant.h' not generated, too many nodes (172), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
7-
warning: Included by graph for 'irep.h' not generated, too many nodes (80), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
8-
warning: Included by graph for 'message.h' not generated, too many nodes (97), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
9-
warning: Included by graph for 'namespace.h' not generated, too many nodes (88), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
10-
warning: Included by graph for 'pointer_expr.h' not generated, too many nodes (122), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
11-
warning: Included by graph for 'prefix.h' not generated, too many nodes (63), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
12-
warning: Included by graph for 'simplify_expr.h' not generated, too many nodes (67), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
13-
warning: Included by graph for 'std_code.h' not generated, too many nodes (71), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
14-
warning: Included by graph for 'std_expr.h' not generated, too many nodes (178), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.
15-
warning: Included by graph for 'symbol_table.h' not generated, too many nodes (71), threshold is 60. Consider increasing DOT_GRAPH_MAX_NODES.

scripts/filter_expected_warnings.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,9 @@ def print_warnings_not_in_other_list(self, other, prefix):
8181
def ignore_too_many_nodes(all_lines):
8282
"""Filter out lines about graphs with too many nodes."""
8383
too_many_nodes_expr = re.compile(
84-
r'warning: Include(d by)? graph for .* not generated, too many nodes. '
85-
+ r'Consider increasing DOT_GRAPH_MAX_NODES.')
84+
r'warning: Include(d by)? graph for .* not generated, too many '
85+
+ r'nodes( \(\d+\), threshold is 60)?\. Consider increasing '
86+
+ r'DOT_GRAPH_MAX_NODES\.')
8687
return [x for x in all_lines if not too_many_nodes_expr.match(x)]
8788

8889

0 commit comments

Comments
 (0)