add various loplugin results files
so that instead of trying to maintain a list of false positives inside the python processing code, I can just run the plugin, generate the result, and then look at the git diff from last time. Change-Id: Ic287f19e3b139705222a1f9541ad6471dfcb9c18
This commit is contained in:
@@ -272,7 +272,7 @@ for d in definitionSet:
|
||||
tmp1set.add((method, location))
|
||||
|
||||
# print out the results, sorted by name and line number
|
||||
with open("loplugin.unusedmethods.report-unused-methods", "wt") as f:
|
||||
with open("compilerplugins/clang/unusedmethods.results", "wt") as f:
|
||||
for t in sort_set_by_natural_key(tmp1set):
|
||||
f.write(t[1] + "\n")
|
||||
f.write(" " + t[0] + "\n")
|
||||
@@ -329,7 +329,7 @@ for d in definitionSet:
|
||||
tmp2set.add((method, location))
|
||||
|
||||
# print output, sorted by name and line number
|
||||
with open("loplugin.unusedmethods.report-unused-returns", "wt") as f:
|
||||
with open("compilerplugins/clang/unusedmethods.unused-returns.results", "wt") as f:
|
||||
for t in sort_set_by_natural_key(tmp2set):
|
||||
f.write(t[1] + "\n")
|
||||
f.write(" " + t[0] + "\n")
|
||||
|
Reference in New Issue
Block a user