mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Merge pull request #18514 from jketema/objc
C++: Remove some Objective-C specific query code
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user