summaryrefslogtreecommitdiffstats
path: root/compilerplugins/clang/unusedfields.py
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-20 14:06:06 +0200
committerNoel Grandin <noel@peralex.com>2015-11-20 14:06:49 +0200
commit3aff028b8f8c62d948d0d6f29a8bd4d169d1e762 (patch)
tree19ec9ef7c059bf8a6621f5999253843e3255b56e /compilerplugins/clang/unusedfields.py
parentloplugin:defaultparams (diff)
downloadcore-3aff028b8f8c62d948d0d6f29a8bd4d169d1e762.tar.gz
core-3aff028b8f8c62d948d0d6f29a8bd4d169d1e762.zip
loplugin:unusedfields in dbaccess
Change-Id: I563c3727c1719fe21acced269e5469c2de7112e8
Diffstat (limited to 'compilerplugins/clang/unusedfields.py')
-rwxr-xr-xcompilerplugins/clang/unusedfields.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/compilerplugins/clang/unusedfields.py b/compilerplugins/clang/unusedfields.py
index bade9a8338ea..40b5defb999f 100755
--- a/compilerplugins/clang/unusedfields.py
+++ b/compilerplugins/clang/unusedfields.py
@@ -55,6 +55,8 @@ for d in definitionSet:
continue
if (definitionToSourceLocationMap[d].startswith("include/")):
continue
+ if (definitionToSourceLocationMap[d].startswith("external/")):
+ continue
tmp1set.add((clazz, definitionToSourceLocationMap[d]))