[build] Ignore private symbols when calculating documentation coverage

This commit is contained in:
Ander Conselvan de Oliveira
2019-03-06 17:08:38 +02:00
parent 8afb24b539
commit 3c4d41559a

View File

@@ -62,7 +62,8 @@ def parse_file(fullpath):
for definition in tree.findall("./compounddef//memberdef"):
# Should it be documented
if (definition.get('kind') == 'function' and
if definition.get('prot') == 'private' or (
definition.get('kind') == 'function' and
definition.get('static') == 'yes'):
continue