https://issues.dlang.org/show_bug.cgi?id=16614

--- Comment #3 from greenify <greeen...@gmail.com> ---
There's now a helper tool in dlang/tools:

https://github.com/dlang/tools/blob/master/styles/has_public_example.d

it run with e.g. dub --root=../tools/styles -c has_public_example -i std

Moreover, there's an open PR to Phobos to enable it with a blacklist:

https://github.com/dlang/phobos/pull/4998

It will introduce this as `has_public_example` Makefile target, thus from the
Phobos repo one can run the following to find functions without public
examples:

make -f posix.mak has_public_example

Help to reduce the blacklist is very welcome!

--

Reply via email to