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:
@@ -245,15 +245,15 @@ tmp2list = sorted(writeonlySet, key=lambda v: natural_sort_key(v[1]))
|
||||
tmp3list = sorted(readonlySet, key=lambda v: natural_sort_key(v[1]))
|
||||
|
||||
# print out the results
|
||||
with open("loplugin.unusedenumconstants.report-untouched", "wt") as f:
|
||||
with open("compilerplugins/clang/unusedenumconstants.untouched.results", "wt") as f:
|
||||
for t in tmp1list:
|
||||
f.write( t[1] + "\n" )
|
||||
f.write( " " + t[0] + "\n" )
|
||||
with open("loplugin.unusedenumconstants.report-writeonly", "wt") as f:
|
||||
with open("compilerplugins/clang/unusedenumconstants.writeonly.results", "wt") as f:
|
||||
for t in tmp2list:
|
||||
f.write( t[1] + "\n" )
|
||||
f.write( " " + t[0] + "\n" )
|
||||
with open("loplugin.unusedenumconstants.report-readonly", "wt") as f:
|
||||
with open("compilerplugins/clang/unusedenumconstants.readonly.results", "wt") as f:
|
||||
for t in tmp3list:
|
||||
f.write( t[1] + "\n" )
|
||||
f.write( " " + t[0] + "\n" )
|
||||
|
Reference in New Issue
Block a user