From 46a3f335bf52cdfa8c19bfdf481bd19889f88185 Mon Sep 17 00:00:00 2001 From: Tim Lim Date: Fri, 20 Oct 2023 20:41:37 +0800 Subject: [PATCH] CPP parse entries ending with --- lib/docs/filters/cpp/entries.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/filters/cpp/entries.rb b/lib/docs/filters/cpp/entries.rb index d13526d3..761e8a11 100644 --- a/lib/docs/filters/cpp/entries.rb +++ b/lib/docs/filters/cpp/entries.rb @@ -52,7 +52,7 @@ module Docs 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')