public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/94997] New: cc/cp/call.c: 4 * member function could be const ?
@ 2020-05-08  8:33 dcb314 at hotmail dot com
  2020-05-08 15:57 ` [Bug c++/94997] gcc/cp/call.c: " msebor at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dcb314 at hotmail dot com @ 2020-05-08  8:33 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-05-08 16:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-08  8:33 [Bug c++/94997] New: cc/cp/call.c: 4 * member function could be const ? dcb314 at hotmail dot com
2020-05-08 15:57 ` [Bug c++/94997] gcc/cp/call.c: " msebor at gcc dot gnu.org
2020-05-08 16:07 ` dcb314 at hotmail dot com
2020-05-08 16:14 ` dcb314 at hotmail dot com
2020-05-08 16:23 ` msebor at gcc dot gnu.org
2020-05-08 16:40 ` dcb314 at hotmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).