https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94997

            Bug ID: 94997
           Summary: cc/cp/call.c: 4 * member function could be const ?
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

trunk.git/gcc/cp/call.c:529:8: style:inconclusive: Technically the member
function 'z_candidate::rewritten' can be const. [functionConst]
trunk.git/gcc/cp/call.c:530:8: style:inconclusive: Technically the member
function 'z_candidate::reversed' can be const. [functionConst]
trunk.git/gcc/cp/call.c:9194:8: style:inconclusive: Technically the member
function '::NonPublicField::operator()' can be const. [functionConst]
trunk.git/gcc/cp/call.c:9211:8: style:inconclusive: Technically the member
function '::NonTrivialField::operator()' can be const. [functionConst]

There may be some small value in making sure that member functions
that consist only of a return statement are marked const.

Reply via email to