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
52 name.remove! %r{\s\(.+\)}52 name.remove! %r{\s\(.+\)}
53 53
54 name.sub! %r{\AStandard library header <(.+)>\z}, '\1'54 name.sub! %r{\AStandard library header <(.+)>\z}, '\1'
55 name.sub! %r{(<[^>]+>)}, ''55 name.sub! %r{(<[^>]+>::)}, '::'
56 56
57 if name.include?('operator') && name.include?(',')57 if name.include?('operator') && name.include?(',')
58 name.sub!(%r{operator.+([\( ])}, 'operators (') || name.sub!(%r{operator.+}, 'operators')58 name.sub!(%r{operator.+([\( ])}, 'operators (') || name.sub!(%r{operator.+}, 'operators')