summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/unusedfields.py
diff options
context:
space:
mode:
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]))