summaryrefslogtreecommitdiffstats
path: root/compilerplugins
Commit message (Collapse)AuthorAgeFilesLines
* move mergeclasses loplugin result file to compilerplugins/Noel Grandin2015-09-081-0/+330
| | | | | | to keep it out of the top-level folder Change-Id: I4bb95b8ae856462e9638f43fde1553e49dd31cc9
* new loplugin mergeclassesNoel Grandin2015-09-082-0/+272
| | | | | | | | | | Idea from Norbert (shm_get) - look for classes that are (a) not instantiated (b) have zero or one subclasses and warn about them - would allow us to remove a bunch of abstract classes that can be merged into one class and simplified Change-Id: I4e43fdd2f549b5cbe25dcb7cee5e9dd3c1df8ba0
* loplugin:stringconstant also for cases using char const v[] = "..."Stephan Bergmann2015-09-031-0/+10
| | | | Change-Id: Iba38686620624178a7be39d703389402bbcea4cb
* loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann2015-08-311-9/+54
| | | | Change-Id: I0d1c988aad308435542dbd381fcf6bf7e1af6290
* Enable loplugin:defaultparamsStephan Bergmann2015-08-211-1/+1
| | | | Change-Id: Ie0a17569d1216816fd6357cd2ba1e125d2172408
* loplugin:cstylecast, put the CastKind info backNoel Grandin2015-08-211-4/+5
| | | | Change-Id: Ia438d3a383cdc6c0343fa116488730a130f634af
* fix my previous change to cstylecast lopluginNoel Grandin2015-08-211-1/+1
| | | | | | in commit 5a58e809fceada72cecc389588bcd792eb3d8105 Change-Id: I43c7fa9dda04a11a9a6424b461b3915da968fe27
* loplugin:cstylecastNoel Grandin2015-08-201-1/+1
| | | | | | and improve the error message in the plugin Change-Id: I8719832a48e14c132f463340fbbc537845f82b0b
* new loplugin automemNoel Grandin2015-08-201-0/+91
| | | | | | find places where we should be using std::unique_ptr Change-Id: I5b9defe778fdc4738ecea381215396874db59e66
* Don't trigger assert in clang::ParmVarDecl::getDefaultArgStephan Bergmann2015-08-141-2/+6
| | | | Change-Id: Ica385b513d87d639496ac470da296e871b093ab4
* defaultparams loplugin should be off by default for nowNoel Grandin2015-08-141-1/+1
| | | | Change-Id: If432f002804678a80963b02e57eba8d314a6f34c
* loplugin: defaultparamsNoel Grandin2015-08-141-11/+15
| | | | Change-Id: Id0a933d3507bc0f8145afa04effadf8475c8e210
* loplugin: defaultparamsNoel Grandin2015-08-111-2/+2
| | | | Change-Id: I906912f29448bfc72e8139546aa09525c959867f
* new loplugin: defaultparamsNoel Grandin2015-08-111-0/+80
| | | | | | | | 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
* gbuild/config stop using VERBOSE, use only verbose=tNorbert Thiebaud2015-08-111-1/+1
| | | | | | | | | | configure.ac was setting VERBOSE=YES/NO when really we use verbose=t or verbose= Change-Id: I47aee8d177cb2d788a62ecdbbb9cc3695c2bb299 Reviewed-on: https://gerrit.libreoffice.org/17634 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
* improve refcounting loplugin to check SvRef-based classesNoel Grandin2015-08-051-1/+119
| | | | | | | Change-Id: I2b3c8eedabeaecd8dcae9fe69c951353a5686883 Reviewed-on: https://gerrit.libreoffice.org/17521 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethodsNoel Grandin2015-08-054-4/+77
| | | | | | | Change-Id: I6801618efb5a66d24156fa429e026acb6ca03aba Reviewed-on: https://gerrit.libreoffice.org/17506 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* -Werror,-Wunused-parameterStephan Bergmann2015-08-041-0/+1
| | | | Change-Id: Iede9204bf93014e757c4fdf4a8363a90b7577dbc
* fix crash in refcounting pluginNoel Grandin2015-08-045-5/+6
| | | | | | | introduced by commit c15b4cf39a74176cee64795129d76f411d2c0a69 "Adapt to current Clang trunk towards 3.7" Change-Id: I00f58d3bc79e641df9bba4e9b1d5c8463b87dc42
* Workaround for libc++Stephan Bergmann2015-08-041-0/+2
| | | | Change-Id: Iee5243231d695299609ca31741f6da2d517f524f
* Workaround for ObjCIvarDecl problemStephan Bergmann2015-08-041-0/+8
| | | | Change-Id: I7eb0fccce4b8268e5d9559b2eb12778d0d288c6b
* Adapt to current Clang trunk towards 3.7Stephan Bergmann2015-08-047-12/+77
| | | | Change-Id: Ibb2c641d49a1773be789c9259f53a040db6f605f
* new loplugin: refcountingNoel Grandin2015-08-031-0/+249
| | | | | | | | | | | | | | This was a feature requested by mmeeks, as a result of tdf#92611. It validates that things that extend XInterface are not directly heap/stack-allocated, but have their lifecycle managed via css::uno::Reference or rtl::Reference. Change-Id: I28e3b8b236f6a4a56d0a6d6f26ad54e44b36e692 Reviewed-on: https://gerrit.libreoffice.org/16924 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethodsNoel Grandin2015-07-301-1/+48
| | | | | | | Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethodsNoel Grandin2015-07-242-21/+18
| | | | | | | Change-Id: If5090c330e12d6e537766bf4a9be0a2360381a7a Reviewed-on: https://gerrit.libreoffice.org/17312 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethods scNoel Grandin2015-07-222-3/+22
| | | | | | | Change-Id: I7bdb1889a942d63370731764a58f4ab524dedd8a Reviewed-on: https://gerrit.libreoffice.org/17287 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethods swNoel Grandin2015-07-211-0/+10
| | | | | | | Change-Id: Ied51535fa169451fc4991237122817a34a59f6fe Reviewed-on: https://gerrit.libreoffice.org/17256 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* fix my previous commitNoel Grandin2015-07-211-1/+1
| | | | Change-Id: I287d99a46eda90718a3c4ec2c92f7b063babeb24
* workaround clang-3.5 issue in unusedmethods lopluginNoel Grandin2015-07-211-1/+3
| | | | Change-Id: Ie67518536932e24e9cff7a8b75b42e90e9f67673
* loplugin:unusedmethods sdNoel Grandin2015-07-211-6/+6
| | | | | | | Change-Id: I9b5399ace50db3259df2e619f28ae547a38e6c6d Reviewed-on: https://gerrit.libreoffice.org/17254 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethods writerfilterNoel Grandin2015-07-211-2/+33
| | | | | | | Change-Id: I52441115e14da6c1bcd7ba4926a0f3cc0620366e Reviewed-on: https://gerrit.libreoffice.org/17236 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethods ooxNoel Grandin2015-07-211-0/+2
| | | | | | | Change-Id: I5381e0da0efc1f951e248cfcfb35fc680ace94e4 Reviewed-on: https://gerrit.libreoffice.org/17225 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethods dbaccessNoel Grandin2015-07-201-0/+26
| | | | | | | Change-Id: Ifa16acc6d90ebd4f56c5662959010f6228228cb5 Reviewed-on: https://gerrit.libreoffice.org/17209 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethods sfx2Noel Grandin2015-07-201-4/+8
| | | | Change-Id: I40be06a4859a38ef64b6267515917f625a5f176d
* loplugin:unusedmethods svlNoel Grandin2015-07-202-9/+35
| | | | | | | Change-Id: If86cc43fda4d138cf7f678d81fa2b35f68f3c03b Reviewed-on: https://gerrit.libreoffice.org/17162 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethods lotuswordproNoel Grandin2015-07-171-0/+1
| | | | Change-Id: I17927d48a75c332f1ddc3853145b14daac17f9c0
* loplugin:unusedmethods cuiNoel Grandin2015-07-171-1/+6
| | | | Change-Id: I8a4cb855054c487d7a8307ad219f10b06db3248b
* loplugin:unusedmethods slideshowNoel Grandin2015-07-171-34/+58
| | | | | | | Change-Id: I66b6cddb638a9fc1228d3ea9df5d112300a00eb3 Reviewed-on: https://gerrit.libreoffice.org/17128 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethods sfx2Noel Grandin2015-07-161-9/+16
| | | | | | | Change-Id: I98c455d89f76fbcacf74929a4e8775b4da697f62 Reviewed-on: https://gerrit.libreoffice.org/17069 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethods connectivityNoel Grandin2015-07-151-0/+8
| | | | | | | Change-Id: Ie9f3daa49b02dddc7b56d1f5fb58a229f53d4513 Reviewed-on: https://gerrit.libreoffice.org/17043 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethods svtoolsNoel Grandin2015-07-141-1/+1
| | | | | | | Change-Id: I04ad31055c04a247faddf4311943ca769051473c Reviewed-on: https://gerrit.libreoffice.org/17032 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* improve the unusedmethods pluginNoel Grandin2015-07-142-12/+8
| | | | | | to find stuff called from 2 levels+ inside template methods Change-Id: I4ba308a992e64a091e5364b8aa89e44d6772dcb0
* loplugin:unusedmethods vclNoel Grandin2015-07-132-0/+2
| | | | | | | Change-Id: I53c66b7898f4e0a66e6172d22c6f782dadaf6589 Reviewed-on: https://gerrit.libreoffice.org/16975 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethods vcl(part2)Noel Grandin2015-07-101-1/+6
| | | | | | | Change-Id: I12356b3fdce68282a30cae2b270b02e46558860a Reviewed-on: https://gerrit.libreoffice.org/16847 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethods vclNoel Grandin2015-07-082-4/+24
| | | | Change-Id: I98b88ca3369a2c888fd63796e39d42376d513002
* loplugin:unusedmethods packageNoel Grandin2015-07-072-9/+12
| | | | | | | Change-Id: I19d6bbb9288d72b99d1023b4983b1c3fff7570e8 Reviewed-on: https://gerrit.libreoffice.org/16811 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:unusedmethods ucbNoel Grandin2015-07-072-17/+38
| | | | | | | Change-Id: Idc0ca78da8ebbdfe8489eee92a1167eb1bd9722f Reviewed-on: https://gerrit.libreoffice.org/16794 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* No MAP_POPULATE on Mac OS XStephan Bergmann2015-07-061-1/+1
| | | | Change-Id: I6a0b8bbeec94fe19b609542550f9cce783daef20
* new loplugin: unusedmethodsNoel Grandin2015-07-063-0/+420
| | | | Change-Id: I72574e354aadf357d6d8181a514efb4783e79e28
* improve the returnbyref lopluginNoel Grandin2015-07-061-21/+35
| | | | | | | Change-Id: I1b510a6194282dfa4a9001d473127c5ebc8b44eb Reviewed-on: https://gerrit.libreoffice.org/16731 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>