Const method without return type

Author: LGTM

import cpp

from MemberFunction m
where
  m.hasSpecifier('const') and
  m.getType() instanceof VoidType
select m

Description

Finds const methods whose return type is `void`