summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/singlevalfields.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/singlevalfields.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/singlevalfields.py')
-rwxr-xr-xcompilerplugins/clang/singlevalfields.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/singlevalfields.py b/compilerplugins/clang/singlevalfields.py
index 855f3d5ae58f..ae1025cb6e3d 100755
--- a/compilerplugins/clang/singlevalfields.py
+++ b/compilerplugins/clang/singlevalfields.py
@@ -14,7 +14,7 @@ def normalizeTypeParams( line ):
return normalizeTypeParamsRegex.sub("type-parameter-?-?", line)
# reading as binary (since we known it is pure ascii) is much faster than reading as unicode
-with io.open("loplugin.singlevalfields.log", "rb", buffering=1024*1024) as txt:
+with io.open("workdir/loplugin.singlevalfields.log", "rb", buffering=1024*1024) as txt:
for line in txt:
tokens = line.strip().split("\t")
if tokens[0] == "defn:":