Noel Grandin
25e4e9694c
handle nullptr in various clang plugins
...
since we are using it so widely now, instead of NULL
Change-Id: I990ff1334f657663e8791ab064d69e56636fe6e7
2016-09-12 08:22:03 +02:00
Noel Grandin
70f87284c6
improve defaultparams loplugin
...
to catch calling params with defaults like "= OUSString()"
Change-Id: Iad060e318ed492c22f8be44e326174fe6d28fff9
Reviewed-on: https://gerrit.libreoffice.org/22932
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-07 05:57:17 +00:00
Stephan Bergmann
931c51f65b
Make loplugin:defaultparams handle enum values and nullptrs
...
Change-Id: I0c57b414d9230406cf2632494ccfa576510b0e61
2015-10-20 14:39:48 +02:00
Stephan Bergmann
7ba3711606
Remove accidentally committed debug code
...
Change-Id: Iba6b97d1a4a0988a3b0404bd14097f92a500d8ae
2015-10-20 11:43:58 +02:00
Stephan Bergmann
415d43473e
Make loplugin:defaultparams work for multiple default params per function
...
Change-Id: I0aa3841e1ac3375f519384f3012450bc683d1c51
2015-10-20 08:43:18 +02:00
Stephan Bergmann
7c473eb789
Enable loplugin:defaultparams
...
Change-Id: Ie0a17569d1216816fd6357cd2ba1e125d2172408
2015-08-21 18:07:36 +02:00
Stephan Bergmann
65aa35fbee
Don't trigger assert in clang::ParmVarDecl::getDefaultArg
...
Change-Id: Ica385b513d87d639496ac470da296e871b093ab4
2015-08-14 13:18:56 +02:00
Noel Grandin
48c4810edf
defaultparams loplugin should be off by default for now
...
Change-Id: If432f002804678a80963b02e57eba8d314a6f34c
2015-08-14 12:03:39 +02:00
Noel Grandin
8601307838
loplugin: defaultparams
...
Change-Id: Id0a933d3507bc0f8145afa04effadf8475c8e210
2015-08-14 10:52:46 +02:00
Noel Grandin
4712396b3b
loplugin: defaultparams
...
Change-Id: I906912f29448bfc72e8139546aa09525c959867f
2015-08-11 09:48:17 +02:00
Noel Grandin
9d307abeec
new loplugin: defaultparams
...
find places where we do not need to be passing a parameter to a
function, because that function has a default value which matches the
value we are passing.
Change-Id: I04d1fd6275204dd4925e6563282464f461123632
2015-08-11 08:25:33 +02:00