diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-25 12:14:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-25 12:44:02 +0200 |
commit | 494c7103744ded1f6f2d373a8eb194c9d34f7b82 (patch) | |
tree | ef9bdffc52dfd0e97b8e1edb7e394c6adfa545c4 /compilerplugins/clang/unnecessaryvirtual.py | |
parent | a8e818392d9129f74e751e1db0278cc314722208 (diff) |
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
Diffstat (limited to 'compilerplugins/clang/unnecessaryvirtual.py')
-rwxr-xr-x | compilerplugins/clang/unnecessaryvirtual.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/unnecessaryvirtual.py b/compilerplugins/clang/unnecessaryvirtual.py index 651f8732758e..4cab2c8a21a8 100755 --- a/compilerplugins/clang/unnecessaryvirtual.py +++ b/compilerplugins/clang/unnecessaryvirtual.py @@ -57,7 +57,7 @@ def natural_sort_key(s, _nsre=re.compile('([0-9]+)')): # sort results by name and line number tmp1list = sorted(unnecessaryVirtualSet, key=lambda v: natural_sort_key(v[1])) -with open("loplugin.unnecessaryvirtual.report", "wt") as f: +with open("compilerplugins/clang/unnecessaryvirtual.results", "wt") as f: for t in tmp1list: f.write( t[1] + "\n" ) f.write( " " + t[0] + "\n" ) |