diff options
Diffstat (limited to 'compilerplugins')
-rwxr-xr-x | compilerplugins/clang/constantparam.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compilerplugins/clang/constantparam.py b/compilerplugins/clang/constantparam.py index 99ef69c8816a..db71c51b49d6 100755 --- a/compilerplugins/clang/constantparam.py +++ b/compilerplugins/clang/constantparam.py @@ -77,6 +77,9 @@ for callInfo, callValues in callDict.iteritems(): if callValue.startswith("get"): continue if "operator=" in functionSig: continue if "&&" in functionSig: continue + if callInfo[2] == "###0" and callValue == "InitData()": continue + if callInfo[2] == "###0" and callValue == "InitAggregate()": continue + if callValue == "shared_from_this()": continue tmp3list.append((sourceLoc, functionSig, callInfo[3] + " " + callInfo[2], callValue)) |