summaryrefslogtreecommitdiffstats
path: root/compilerplugins/clang/inlinefields.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/inlinefields.py
parentadd GtkMenuButton support (diff)
downloadcore-64a5d65f4c6226d8e98d2f33bf86f748d4ac9280.tar.gz
core-64a5d65f4c6226d8e98d2f33bf86f748d4ac9280.zip
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/inlinefields.py')
-rwxr-xr-xcompilerplugins/clang/inlinefields.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/inlinefields.py b/compilerplugins/clang/inlinefields.py
index 2605fd7bc173..80dc6a39621c 100755
--- a/compilerplugins/clang/inlinefields.py
+++ b/compilerplugins/clang/inlinefields.py
@@ -17,7 +17,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.inlinefields.log", "rb", buffering=1024*1024) as txt:
+with io.open("workdir/loplugin.inlinefields.log", "rb", buffering=1024*1024) as txt:
for line in txt:
tokens = line.strip().split("\t")
if tokens[0] == "definition:":