Skip to content

Commit 2357494

Browse files
committed
Dont report SpecialMemberFunction
1 parent 0f3bd45 commit 2357494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/autosar/src/rules/M0-1-10/UnusedFunction.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ where
2727
else name = unusedFunction.getName()
2828
) and
2929
not unusedFunction.isDeleted() and
30-
not UnusedFunctions::isASpecialMemberFunction(unusedFunction)
30+
not unusedFunction instanceof SpecialMemberFunction
3131
select unusedFunction, "Function " + name + " is " + unusedFunction.getDeadCodeType()

0 commit comments

Comments
 (0)