This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/59793] New: Warning to suggest making trivial non-virtual method inline
- From: "eugene.zelenko at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Jan 2014 18:54:49 +0000
- Subject: [Bug c++/59793] New: Warning to suggest making trivial non-virtual method inline
- Auto-submitted: auto-generated
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.