summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/unusedenumconstants.py
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-10 15:41:12 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-10 15:54:24 +0200
commit64a5d65f4c6226d8e98d2f33bf86f748d4ac9280 (patch)
treebb772d7e408fa984a7f4f628ae0efc3c68a1980a /compilerplugins/clang/unusedenumconstants.py
parent97932839851ff4084f32c82442176c2114763b74 (diff)
put the loplugin output files in the workdir
so that the next time I accidentally leave one turned on, and commit it, the buildbots will clean up naturally the next time they run 'make clean' Change-Id: Ia09dea9c272c322c7e2773c5458cb54aceb50dd1
Diffstat (limited to 'compilerplugins/clang/unusedenumconstants.py')
-rwxr-xr-xcompilerplugins/clang/unusedenumconstants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/unusedenumconstants.py b/compilerplugins/clang/unusedenumconstants.py
index 584e8d529c26..c498f38c76d7 100755
--- a/compilerplugins/clang/unusedenumconstants.py
+++ b/compilerplugins/clang/unusedenumconstants.py
@@ -22,7 +22,7 @@ def parseFieldInfo( tokens ):
else:
return (normalizeTypeParams(tokens[1]), "")
-with io.open("loplugin.unusedenumconstants.log", "rb", buffering=1024*1024) as txt:
+with io.open("workdir/loplugin.unusedenumconstants.log", "rb", buffering=1024*1024) as txt:
for line in txt:
tokens = line.strip().split("\t")
if tokens[0] == "definition:":