summaryrefslogtreecommitdiffstats
path: root/compilerplugins
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann2015-06-261-0/+6
| | | | Change-Id: I85a88eaca89bb2c89a3ad374be09547f9b2ed78f
* loplugin:stringconstant: OUStringLiteral1 can handle NUL literals just fineStephan Bergmann2015-06-261-3/+3
| | | | Change-Id: I9b31b01a34a10d5bd329dccd39da83500d6fd2c7
* ...in case this ever gets used with an unsigned APSInt of bitwidth < 7Stephan Bergmann2015-06-251-1/+1
| | | | Change-Id: Ic9436529321e523edd25d0f83ac09a0e22a44013
* my previous fix triggered an assert in clangNoel Grandin2015-06-251-1/+1
| | | | Change-Id: I67b8dec0d49032134a1b588363e72fa88f5993f7
* error: invalid operands to binary expression ('llvm::APSInt' and 'int')Noel Grandin2015-06-251-1/+1
| | | | Change-Id: I1a509ce133954a31a504dcc178687427f85f4c1c
* loplugin:stringconstant: Flag more inefficienciesStephan Bergmann2015-06-251-0/+133
| | | | Change-Id: I47726315f12ef05714bea248d79cc503fb99b23c
* Add variadic PartialWeakComponentImplHelper, remove need for implbase_var.hxxStephan Bergmann2015-06-221-2/+1
| | | | Change-Id: Iad3417822b2ab3afb75da09c311a0bf07af5e2e4
* Fix for BUILDDIR != SRCDIRStephan Bergmann2015-06-221-1/+1
| | | | Change-Id: I3ea2a0a6d8f54afcc1959b54c36f90bb849995b4
* Remove loplugin:pointertoboolStephan Bergmann2015-06-151-167/+0
| | | | | | | | | | | For one, intended warnings about pointers as function call arguments being implicitly converted to bool are also covered (along with more) by loplugin:implicitboolconversion. For another, this code generates false positives inside lambdas (where the check for CallExpr eventually always hits in the PointerToBool::ignoreConversion recursion), see 762e90ffa0cd5f85dadd9bad93391d105e60e418 "vcl: loplugin:pointertobool." Change-Id: I55eaa668c1b4a2c66a5a015b2414bf161f796f2a
* fix vclwidget plugin warning messageNoel Grandin2015-06-151-1/+1
| | | | Change-Id: Iac6450ed3a7742022d97b0121165f992b483eea0
* cppcheck:unreadVariableNoel Grandin2015-06-151-6/+0
| | | | Change-Id: I03981ceba67280e8ed98a9add7f24b3bd958d522
* New VclPtr clang plugin to catch potential problems.Noel Grandin2015-06-121-0/+19
| | | | | | | Change-Id: I2571c4384e4c2dbe411e171325e10d57a0afe5a0 Reviewed-on: https://gerrit.libreoffice.org/16235 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
* loplugin:unreffun: workaround for visibility-adding redeclsStephan Bergmann2015-06-091-0/+11
| | | | Change-Id: Ic18b44942f4fe02083c0e8167e8c8d4205e66abf
* forgot to add this - the python file for the unnnecessaryvirtualNoel Grandin2015-06-091-0/+77
| | | | | | clang plugin Change-Id: I1392ad1834dc590cec12e379d6478c42b1bbbc20
* loplugin:unnecessaryvirtualsNoel Grandin2015-06-092-31/+186
| | | | | | | | Improve the plugin a little. Create a python script to process the output. Run it again. Change-Id: I05c21d8a21c8f4243af739c412fda0a521f9b5f0
* loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann2015-06-081-8/+0
| | | | Change-Id: Ic714e7f887b421e491544b7c985351077170344d
* Enable loplugin:loopvartoosmallStephan Bergmann2015-06-021-4/+4
| | | | Change-Id: I114320ebaab9223b82b4fd9710c3cc221a836645
* loplugin:loopvartoosmallNoel Grandin2015-06-021-1/+1
| | | | Change-Id: Ib4def3435eab4625645c5afe3b151f9f430564ac
* loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann2015-06-021-13/+104
| | | | Change-Id: Ice7bbdea1d0df0a92f2e1b38f033adaff2fb8b07
* loplugin:loopvartoosmallNoel Grandin2015-06-011-1/+1
| | | | Change-Id: I86ff38a90018a2ddfb2db3babf67168b0e6257a5
* loplugin:redundantcast: const_cast to same typeStephan Bergmann2015-05-291-0/+19
| | | | Change-Id: I1abdc2ab0b145e12f7fb00db529f52c11e4d7cfd
* loplugin:loopvartoosmallNoel Grandin2015-05-291-1/+1
| | | | Change-Id: I5518e40a30bdad53470cc52b59eff04ab6d873d4
* loplugin:loopvartoosmallNoel Grandin2015-05-291-5/+6
| | | | Change-Id: Icbe68b31d4ab04ca3cd9f572e3598413946a75c7
* loplugin:loopvartoosmallNoel Grandin2015-05-291-2/+2
| | | | Change-Id: Icb31e51575f7fffd36be73bbd87a3c5e56c3aa26