Reduced test case from recent #1077 failure:
namespace ns {
struct Foo {
/// bar
int bar();
};
}
/// Baz
struct Baz : ns::Foo {};
Assumes mrdocs.yml includes some other namespace, but doesn't include ns:
include-symbols:
- 'mrdocs::**'
For this test case, mrdocs produces the following diagnostic:
test.hpp:4:5:
1) Baz::bar: Missing documentation for return value
4 | int bar();
| ^~~~~~~~~~
The documentation for bar produces a diagnostic even though it is external to the project (member of an excluded namespace).