-bad/docs: be more selective about header files to exclude

A few header files in -bad contain comments that start with the
/** gtk-doc pattern, but should not actually be parsed (and warned
about as such).

Previously, we were using far-reaching wildcard patterns to avoid
parsing those, but this had the unintended side effect of also
excluding legitimate files, and creating confusion when comments
were not parsed from those.

Switch to excluding specific files instead.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2576>
This commit is contained in:
Mathieu Duponchelle 2022-06-08 16:38:00 +02:00 committed by GStreamer Marge Bot
parent 8bdf7e8ad8
commit cf793d6678

View file

@ -102,9 +102,15 @@ foreach f: [
'ext/closedcaption/raw_decoder.[ch]',
'ext/closedcaption/sampling_par.[ch]',
'ext/closedcaption/sliced.[ch]',
'ext/*/*.h',
'sys/*/*.h',
'gst/*/*.h',
'ext/lv2/gstlv2utils.h',
'ext/closedcaption/hamm.h',
'ext/closedcaption/io-sim.h',
'ext/avtp/gstavtpcrfbase.h',
'sys/nvcodec/nvEncodeAPI.h',
'sys/nvcodec/cuviddec.h',
'sys/nvcodec/nvcuvid.h',
'sys/winks/ksvideohelpers.h',
'gst/videoparsers/gstjpeg2000parse.h',
'gst-libs/gst/*/*-prelude.h',
'gst-libs/gst/vulkan/vulkan_fwd.h'
]