summaryrefslogtreecommitdiff
path: root/compilerplugins
AgeCommit message (Collapse)Author
2015-10-07Revert "loplugin:mergeclasses" to fix mac buildCaolán McNamara
because fontsubst.cxx is not built on mac. move PreMatchFontSubstitution to PhysicalFontCollection.cxx ? This reverts commit 349700228e4449ace956b30bc65208b9196f0a78. Change-Id: I007f24313ddfd0eb3db3fd599abcf1eae3da4e9c
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I8f5c2ae658f8784233db98f752b6f9fa53110195
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I0ac98a6fafb48b2be00973ae9fd34f4bc756cd7f
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: Icf1731dfbd16d85decd2aaf80be4841ac37007fd
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I9f56beebae1ea02a8914b7b25fe7565f7b0df053
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: If8fabc79f4cbef6fc0d164bbe2f6136f1d1f00af
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I52446e517c2315516ea74a30767393ff32960799
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I14985f98989861d74b3904ab79f3ced5a3d96f73
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I28d8bd79f266df7e9ea420f7238ed332ec4205a9
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I9b926e59b2df62c22fb5ecfc7c16d8047b6da2a4
2015-10-07loplugin:mergedclassesNoel Grandin
Change-Id: I3eb2de4edcd4b2d757d1e0916e7c903b5d6c569e
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I131d192a0029ec3eebacb72341ba3113de0e19ac
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I1347e51ef727da81be0c7937cad6e3f5edbf15a8
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I45ccf880900f46a121c73152615ec3534a47d750
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I93bb1b9de62d30960028b719ee7ec773358c5c0f
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I01810a8db024e207783fc09b88bd932bca8ed103
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: Ia19514d33fd025a1df9d26b94e2d39113d122392
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I84dee96b7a1f72db46e3330ec5195367dfce894a
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: If5da1527a048997aec1dbc07afbdddabd2c4168d
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: Ia3b63df5e8752690e3350f8a13445a096a839952
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: If918532fcc860e3deacd9c86dd7a2d554e4f748d
2015-10-07remove another custom refcounting base classNoel Grandin
Change-Id: Icd8a8d79da0ada68e9ee869c3c2a7b93db5b2733
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I9b5f35ac3a491bcf0bb5bb1b04f749321fc9f72b
2015-10-06Commit loplugin:returnunique to store/, for referenceStephan Bergmann
Change-Id: I359d8ab47276e5c801522251d5e141946d94ca5d
2015-10-06loplugin:unusedmethodsNoel Grandin
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-10-06loplugin:mergeclassesNoel Grandin
in this case, just rename the baseclass so that it matches the other places we do this Change-Id: I21704db7352f72e43636dde9e92c8bef61b7e251
2015-10-06loplugin:mergeclassesNoel Grandin
and move the boost-depending code inside the module, no need to expose that dependency and include that header in all client code. Change-Id: Ib991572d7a54a9ad16825d688e76f8e3a824803c
2015-10-06loplugin:mergeclassesNoel Grandin
Change-Id: I592eef7503bd0b492f73ea5216f436302ad79ca8
2015-10-06loplugin:mergeclassesNoel Grandin
Change-Id: I7c8c60aab31517d595a7e37c3789fa1e515ec3ee
2015-10-01loplugin:unusedmethodsNoel Grandin
- improvements to the plugin to find more method calls - improvements to python script to remove more false+ - fix the FORCE_COMPILE_ALL build flag to include code in the $WORKDIR Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836 Reviewed-on: https://gerrit.libreoffice.org/19064 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-30Fix typosAndrea Gelmini
Change-Id: Iaff7e38dd5beac48e1643e369e4240aa736c35ea Reviewed-on: https://gerrit.libreoffice.org/18941 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-29loplugin:removeunusedmethods, remove unused stuffNoel Grandin
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-29Avoid ambiguity with C++14 std::make_uniqueStephan Bergmann
Change-Id: I81b8bed175527bab02ffdd2fa17fa6a66c243d95
2015-09-21tdf#94389 compilerplugins: clang 3.7.0Daniel Robertson
Fix errors that occur in build with clang 3.7.0 Change-Id: I0e8743f2b6a288d10b4e78e884ce34cfca4dd77c Reviewed-on: https://gerrit.libreoffice.org/18738 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-09-08move mergeclasses loplugin result file to compilerplugins/Noel Grandin
to keep it out of the top-level folder Change-Id: I4bb95b8ae856462e9638f43fde1553e49dd31cc9
2015-09-08new loplugin mergeclassesNoel Grandin
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
2015-09-03loplugin:stringconstant also for cases using char const v[] = "..."Stephan Bergmann
Change-Id: Iba38686620624178a7be39d703389402bbcea4cb
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann
Change-Id: I0d1c988aad308435542dbd381fcf6bf7e1af6290
2015-08-21Enable loplugin:defaultparamsStephan Bergmann
Change-Id: Ie0a17569d1216816fd6357cd2ba1e125d2172408
2015-08-21loplugin:cstylecast, put the CastKind info backNoel Grandin
Change-Id: Ia438d3a383cdc6c0343fa116488730a130f634af
2015-08-21fix my previous change to cstylecast lopluginNoel Grandin
in commit 5a58e809fceada72cecc389588bcd792eb3d8105 Change-Id: I43c7fa9dda04a11a9a6424b461b3915da968fe27
2015-08-20loplugin:cstylecastNoel Grandin
and improve the error message in the plugin Change-Id: I8719832a48e14c132f463340fbbc537845f82b0b
2015-08-20new loplugin automemNoel Grandin
find places where we should be using std::unique_ptr Change-Id: I5b9defe778fdc4738ecea381215396874db59e66
2015-08-14Don't trigger assert in clang::ParmVarDecl::getDefaultArgStephan Bergmann
Change-Id: Ica385b513d87d639496ac470da296e871b093ab4
2015-08-14defaultparams loplugin should be off by default for nowNoel Grandin
Change-Id: If432f002804678a80963b02e57eba8d314a6f34c
2015-08-14loplugin: defaultparamsNoel Grandin
Change-Id: Id0a933d3507bc0f8145afa04effadf8475c8e210
2015-08-11loplugin: defaultparamsNoel Grandin
Change-Id: I906912f29448bfc72e8139546aa09525c959867f
2015-08-11new loplugin: defaultparamsNoel Grandin
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-11gbuild/config stop using VERBOSE, use only verbose=tNorbert Thiebaud
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>
2015-08-05improve refcounting loplugin to check SvRef-based classesNoel Grandin
Change-Id: I2b3c8eedabeaecd8dcae9fe69c951353a5686883 Reviewed-on: https://gerrit.libreoffice.org/17521 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>