loplugin:unusedmethods also check for functions returning bool
we were previously excluding them Change-Id: I48a68799b0de60b4995fae541eb363e043d4dd11 Reviewed-on: https://gerrit.libreoffice.org/48167 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -209,9 +209,6 @@ for d in definitionSet:
|
||||
# ignore methods with no return type, and constructors
|
||||
if d[0] == "void" or d[0] == "":
|
||||
continue
|
||||
# ignore bool returns, provides important documentation in the code
|
||||
if d[0] == "_Bool":
|
||||
continue
|
||||
# ignore UNO constructor method entrypoints
|
||||
if "_get_implementation" in d[1] or "_getFactory" in d[1]:
|
||||
continue
|
||||
|
Reference in New Issue
Block a user