Commit Graph

2 Commits

Author SHA1 Message Date
Noel Grandin
be878d7cc5 improve warning message in passstringbyref compiler plugin
Change-Id: Ia8470bbd04c841e6c44c182493fede3dc312f635
2014-03-19 08:57:07 +02:00
Noel Grandin
86a32589e9 Find places where OUString and OString are passed by value.
It's not very efficient, because we generally end up copying it twice -
once into the parameter and again into the destination OUString.

So I create a clang plugin that finds such places and generates a
warning so that we can convert them to pass-by-reference.

Change-Id: I5341a6ea9e3190f4b4c05c42c85595e3dcd83361
2014-03-18 08:32:26 +02:00