2 Commits

Author SHA1 Message Date
Noel Grandin
5d1e22d52a improve safety of loplugin inlinesimplememberfunctions
don't try and move functions containing comments

Change-Id: I2de8fc8be851af979acf9d1a91e7cdd9a5dc6a32
2014-06-09 10:10:14 +02:00
Noel Grandin
6f2edd4514 new loplugin: inlinesimpleaccessmethods
Create a rewriting plugin for finding methods that simply return
object fields, and should therefore be declared in the header,
so that the compiler can reduce method calls into a simple
fixed-offset load instruction.

Change-Id: I7a620fc54250b79681918dc31ed9a8f21118c037
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-06-04 14:49:08 +02:00