diff options
Diffstat (limited to 'compilerplugins/clang/unusedfields.py')
-rwxr-xr-x | compilerplugins/clang/unusedfields.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compilerplugins/clang/unusedfields.py b/compilerplugins/clang/unusedfields.py index 0baf4c738cff..40b34b3b8a02 100755 --- a/compilerplugins/clang/unusedfields.py +++ b/compilerplugins/clang/unusedfields.py @@ -128,6 +128,9 @@ for d in definitionSet: # ignore reference fields, because writing to them actually writes to another field somewhere else if fieldType.endswith("&"): continue + # ignore the import/export data model stuff + if srcLoc.startswith("sc/source/filter/inc/") and "Model" in fieldType: + continue writeonlySet.add((clazz + " " + definitionToTypeMap[d], srcLoc)) |