Skip to content

Commit

Permalink
Merge pull request #2083 from thewheat/cpp-parse-more-entries
Browse files Browse the repository at this point in the history
CPP scrape entries ending with <typename>
  • Loading branch information
simon04 authored Jan 5, 2024
2 parents 6c81f97 + 46a3f33 commit 2ac4b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/docs/filters/cpp/entries.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def format_name(name)
name.remove! %r{\s\(.+\)}

name.sub! %r{\AStandard library header <(.+)>\z}, '\1'
name.sub! %r{(<[^>]+>)}, ''
name.sub! %r{(<[^>]+>::)}, '::'

if name.include?('operator') && name.include?(',')
name.sub!(%r{operator.+([\( ])}, 'operators (') || name.sub!(%r{operator.+}, 'operators')
Expand Down

0 comments on commit 2ac4b4a

Please sign in to comment.