mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-16 00:05:45 -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
|
# 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user