Ignore =default constructors in doxygen check

There's no need to force documentation for these
This commit is contained in:
Nyall Dawson 2024-07-22 14:21:05 +10:00
parent 5166fc7a51
commit 9029ba99ae

View File

@ -381,7 +381,7 @@ class DoxygenParser():
# ignore constructors with no arguments # ignore constructors with no arguments
if self.isConstructor(elem): if self.isConstructor(elem):
try: try:
if elem.find('argsstring').text == '()': if re.match(r'^\s*\(\s*\)\s*(?:=\s*default\s*)?$', elem.find('argsstring').text):
return False return False
except: except:
pass pass