Merge pull request #18514 from jketema/objc

C++: Remove some Objective-C specific query code
This commit is contained in:
Jeroen Ketema
2025-01-17 08:18:05 +01:00
committed by GitHub

View File

@@ -168,12 +168,7 @@ where
strictcount(string fieldName |
exists(Field f |
f.getDeclaringType() = c and
fieldName = f.getName() and
// IBOutlet's are a way of building GUIs
// automatically out of ObjC properties.
// We don't want to count those for the
// purposes of this query.
not f.getType().getAnAttribute().hasName("iboutlet")
fieldName = f.getName()
)
) and
n > 15 and