History

CPP parse entries ending with <typename>

Tim Lim committed 3 years ago

Commit 46a3f331 parent 887c8791 file · +1 −1Browse files

Unified · Split

lib/docs/filters/cpp/entries.rb+1−1
@@ -52,7 +52,7 @@ module Docs · 51 unmodified lines
5252 name.remove! %r{\s\(.+\)}
5353
5454 name.sub! %r{\AStandard library header <(.+)>\z}, '\1'
55− name.sub! %r{(<[^>]+>)}, ''
55+ name.sub! %r{(<[^>]+>::)}, '::'
5656
5757 if name.include?('operator') && name.include?(',')
5858 name.sub!(%r{operator.+([\( ])}, 'operators (') || name.sub!(%r{operator.+}, 'operators')