Skip to content

Commit 65a11e4

Browse files
authored
Merge pull request github#18514 from jketema/objc
C++: Remove some Objective-C specific query code
2 parents 45e9957 + aec151d commit 65a11e4

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

cpp/ql/src/Architecture/Refactoring Opportunities/ClassesWithManyFields.ql

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,7 @@ where
168168
strictcount(string fieldName |
169169
exists(Field f |
170170
f.getDeclaringType() = c and
171-
fieldName = f.getName() and
172-
// IBOutlet's are a way of building GUIs
173-
// automatically out of ObjC properties.
174-
// We don't want to count those for the
175-
// purposes of this query.
176-
not f.getType().getAnAttribute().hasName("iboutlet")
171+
fieldName = f.getName()
177172
)
178173
) and
179174
n > 15 and

0 commit comments

Comments
 (0)