[Bug c++/59793] New: Warning to suggest making trivial non-virtual method inline
eugene.zelenko at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Jan 13 18:54:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59793
Bug ID: 59793
Summary: Warning to suggest making trivial non-virtual method
inline
Product: gcc
Version: 4.8.2
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: eugene.zelenko at gmail dot com
Hi!
I think will be great to have warning which will suggest to make trivial
non-vuirtual method inline and move to class declaration. Possible criteria of
trivial: 1 line of code dealing only with trivial data types (pointer, integer,
float, etc).
Eugene.
More information about the Gcc-bugs
mailing list