diff options
author | Ander Conselvan de Oliveira <ander.deoliveira@mapbox.com> | 2019-03-06 17:08:38 +0200 |
---|---|---|
committer | Ander Conselvan de Oliveira <ander.deoliveira@mapbox.com> | 2019-03-13 14:02:53 +0200 |
commit | 9777a47b72a7f1d7adf3e8750e1850f0a3fd6ed0 (patch) | |
tree | 84b3b36b36bf2c8c8fb35ecdb72eb841f555f287 | |
parent | cfa94f1682cf85e68732ea271c7a7e8bfe6ca1f9 (diff) | |
download | qtlocation-mapboxgl-9777a47b72a7f1d7adf3e8750e1850f0a3fd6ed0.tar.gz |
[build] Ignore private symbols when calculating documentation coverage
-rwxr-xr-x | scripts/doxy-coverage.py | 3 |
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 |