mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
Ignore =default constructors in doxygen check
There's no need to force documentation for these
This commit is contained in:
parent
5166fc7a51
commit
9029ba99ae
@ -381,7 +381,7 @@ class DoxygenParser():
|
||||
# ignore constructors with no arguments
|
||||
if self.isConstructor(elem):
|
||||
try:
|
||||
if elem.find('argsstring').text == '()':
|
||||
if re.match(r'^\s*\(\s*\)\s*(?:=\s*default\s*)?$', elem.find('argsstring').text):
|
||||
return False
|
||||
except:
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user