loplugin:mergeclasses
don't filter out "Base", reveals some interesting stuff Change-Id: I62a36e70bce8e6e1346f78395dc1d32fbd8a0ddd Reviewed-on: https://gerrit.libreoffice.org/84107 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/python2
|
||||
|
||||
import sys
|
||||
|
||||
@@ -61,7 +61,7 @@ with open("compilerplugins/clang/mergeclasses.results", "wt") as f:
|
||||
if (clazz not in parentChildDict) or (len(parentChildDict[clazz]) != 1):
|
||||
continue
|
||||
# exclude some common false positives
|
||||
a = ['Dialog', 'Dlg', 'com::sun', 'Base']
|
||||
a = ['Dialog', 'Dlg', 'com::sun']
|
||||
if any(x in clazz for x in a):
|
||||
continue
|
||||
# ignore base class that contain the word "mutex", they are normally there to
|
||||
|
Reference in New Issue
Block a user