Kaydet (Commit) e151ce85 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:constantparam ignore some SFX macro generated code

Change-Id: Ic5d9a17aeec51d59e26c49bbdf5719e6d8f6486f
üst a6bcb8c3
......@@ -67,6 +67,11 @@ for callInfo, callValues in callDict.iteritems():
# part of our binary API
if sourceLoc.startswith("include/LibreOfficeKit"): continue
# ignore methods generated by SFX macros
if "RegisterInterface(class SfxModule *)" in nameAndParams: continue
if "RegisterChildWindow(_Bool,class SfxModule *,enum SfxChildWindowFlags)" in nameAndParams: continue
if "RegisterControl(unsigned short,class SfxModule *)" in nameAndParams: continue
if RepresentsInt(callValue):
if callValue == "0" or callValue == "1":
tmp1list.append((sourceLoc, functionSig, callInfo[3] + " " + callInfo[2], callValue))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment