summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnder Conselvan de Oliveira <ander.deoliveira@mapbox.com>2019-03-06 17:08:38 +0200
committerAnder Conselvan de Oliveira <ander.deoliveira@mapbox.com>2019-03-13 15:06:56 +0200
commit3c4d41559a1e1b4d53a9fc089d3f6919441298d0 (patch)
tree84b3b36b36bf2c8c8fb35ecdb72eb841f555f287
parent8afb24b539951a6b02cf9e6e41639fea1748deda (diff)
downloadqtlocation-mapboxgl-3c4d41559a1e1b4d53a9fc089d3f6919441298d0.tar.gz
[build] Ignore private symbols when calculating documentation coverage
-rwxr-xr-xscripts/doxy-coverage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/doxy-coverage.py b/scripts/doxy-coverage.py
index 69df8b218c..9c39b349aa 100755
--- a/scripts/doxy-coverage.py
+++ b/scripts/doxy-coverage.py
@@ -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