diff options
Diffstat (limited to 'compilerplugins/clang/constantparam.py')
-rwxr-xr-x | compilerplugins/clang/constantparam.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compilerplugins/clang/constantparam.py b/compilerplugins/clang/constantparam.py index 1371a6d9d7f3..3df25994c3f5 100755 --- a/compilerplugins/clang/constantparam.py +++ b/compilerplugins/clang/constantparam.py @@ -20,6 +20,8 @@ with io.open("workdir/loplugin.constantparam.log", "r") as txt: returnType = normalizeTypeParams(tokens[0]) nameAndParams = normalizeTypeParams(tokens[1]) sourceLocation = tokens[2] + # the cxx should actually ignore these + if sourceLocation.startswith("workdir/"): continue paramName = tokens[3] paramType = normalizeTypeParams(tokens[4]) callValue = tokens[5] |