Skip to content

Commit aec151d

Browse files
committed
C++: Remove some Objective-C specific query code
We have not supported Objective-C for a long time.
1 parent 02ac61f commit aec151d

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)