Skip to content

Commit

Permalink
Ignore =default during doxygen coverage test
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 11, 2017
1 parent 07e12e2 commit c78ca05
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/code_layout/doxygen_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,12 @@ def memberSignature(self, elem):
a = elem.find('argsstring')
try:
if a is not None:
return elem.find('name').text + a.text
signature = elem.find('name').text + a.text
else:
return elem.find('name').text
signature = elem.find('name').text
if signature.endsWith('= default'):
signature = signature[:-len('= default')]
return signature
except:
return None

Expand Down

0 comments on commit c78ca05

Please sign in to comment.