loplugin:unusedmethods
Change-Id: Ie92b52eabc425a4688b6d4f7cfb547ad59f4afc4 Reviewed-on: https://gerrit.libreoffice.org/84106 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -157,7 +157,9 @@ for d in definitionSet:
|
||||
if d[0] == "basic_ostream<type-parameter-?-?, type-parameter-?-?> &" and d[1].startswith("operator<<(basic_ostream<type-parameter-?-?"):
|
||||
continue
|
||||
# ignore lambdas
|
||||
if " ::operator " in method or " ::__invoke(" in method or " ::operator()" in method: continue
|
||||
if (" ::operator " in method) or (" ::__invoke(" in method) or (" ::operator())" in method): continue
|
||||
# ignore stuff generated by std::function parameters
|
||||
if ("(anonymous)::operator " in method) and ("(*)" in method): continue
|
||||
# stuff generated by Qt
|
||||
if "::tr(" in method or "::trUtf8(" in method: continue
|
||||
|
||||
|
Reference in New Issue
Block a user