534 Commits

Author SHA1 Message Date
Noel Grandin
e1d7a84955 loplugin:mergeclasses
Change-Id: I935c6144a7731091e7fdb0a818b54f30d3304f2e
2015-10-12 09:13:34 +02:00
Noel Grandin
8d811d701f loplugin:mergeclasses
Change-Id: I672d277a8d2dc6b57b299679e7e98348f9dbde30
2015-10-12 09:13:34 +02:00
Noel Grandin
1d8806120f loplugin:mergeclasses
Change-Id: I31fe981dac14bd732ee68ee1a2e475dd1b0498a2
2015-10-12 09:13:34 +02:00
Noel Grandin
6b34ac2419 loplugin:mergeclasses
Change-Id: Ic02d59708670949c3342566753882eebd086438f
2015-10-12 09:13:34 +02:00
Noel Grandin
06e4a98990 loplugin:mergeclasses
Change-Id: I6266369912413d51c9f1595b13dca97d3d74225f
2015-10-12 09:13:34 +02:00
Noel Grandin
f8ba308cd7 loplugin:mergeclasses
Change-Id: Id6e39c2c20ab3da5a8b8628f99a940b896feff78
2015-10-12 09:13:33 +02:00
Noel Grandin
523eaf4888 loplugin:mergeclasses
Change-Id: Ia4c09c5b835e77eaa2d4c0d8c74f146feb0905be
2015-10-12 09:13:33 +02:00
Noel Grandin
48532dfa60 loplugin:mergeclasses
Change-Id: I1ce2e31e4dae780612e51b3806ee6044be9cf4bb
2015-10-12 09:13:33 +02:00
Noel Grandin
529f15859b loplugin:mergeclasses
Change-Id: I660b102e0e053e632ea6f1880e92652bc1ed5e5e
2015-10-12 09:13:33 +02:00
Noel Grandin
0f88736128 loplugin:mergeclasses
Change-Id: Icd01de71fe87e0bf17eba39f5b00fc9a46765509
2015-10-12 09:13:33 +02:00
Noel Grandin
3e6ff89b5c loplugin:mergeclasses
Change-Id: Ia4ae4f17fba9775fc53618ab1662c10e37ee4be3
2015-10-12 09:13:33 +02:00
Noel Grandin
14421f20dc improve the mergeclasses loplugin
Change-Id: Icbb873c4ac15ef146b126b97f45eabdc53cd4c1a
2015-10-12 09:13:32 +02:00
Noel Grandin
527a9a1146 loplugin:mergeclasses
Change-Id: I555e3db911a97e798ce9f10c76d7fe187ea550a7
2015-10-12 09:13:32 +02:00
Caolán McNamara
71bb6d6b72 Revert "loplugin:mergeclasses" to fix mac build
because fontsubst.cxx is not built on mac.

move PreMatchFontSubstitution to PhysicalFontCollection.cxx ?

This reverts commit 349700228e4449ace956b30bc65208b9196f0a78.

Change-Id: I007f24313ddfd0eb3db3fd599abcf1eae3da4e9c
2015-10-07 12:57:44 +01:00
Noel Grandin
bb76b8f106 loplugin:mergeclasses
Change-Id: I8f5c2ae658f8784233db98f752b6f9fa53110195
2015-10-07 12:32:23 +02:00
Noel Grandin
5dbbb498b5 loplugin:mergeclasses
Change-Id: I0ac98a6fafb48b2be00973ae9fd34f4bc756cd7f
2015-10-07 12:32:23 +02:00
Noel Grandin
a3eacae95a loplugin:mergeclasses
Change-Id: Icf1731dfbd16d85decd2aaf80be4841ac37007fd
2015-10-07 12:32:23 +02:00
Noel Grandin
349700228e loplugin:mergeclasses
Change-Id: I9f56beebae1ea02a8914b7b25fe7565f7b0df053
2015-10-07 12:32:23 +02:00
Noel Grandin
64d0de92ab loplugin:mergeclasses
Change-Id: If8fabc79f4cbef6fc0d164bbe2f6136f1d1f00af
2015-10-07 12:32:23 +02:00
Noel Grandin
8b98c8b32c loplugin:mergeclasses
Change-Id: I52446e517c2315516ea74a30767393ff32960799
2015-10-07 08:27:27 +02:00
Noel Grandin
77f884064d loplugin:mergeclasses
Change-Id: I14985f98989861d74b3904ab79f3ced5a3d96f73
2015-10-07 08:27:26 +02:00
Noel Grandin
44a46d4f3b loplugin:mergeclasses
Change-Id: I28d8bd79f266df7e9ea420f7238ed332ec4205a9
2015-10-07 08:27:26 +02:00
Noel Grandin
dee4645edc loplugin:mergeclasses
Change-Id: I9b926e59b2df62c22fb5ecfc7c16d8047b6da2a4
2015-10-07 08:27:26 +02:00
Noel Grandin
dff288c6ee loplugin:mergedclasses
Change-Id: I3eb2de4edcd4b2d757d1e0916e7c903b5d6c569e
2015-10-07 08:27:26 +02:00
Noel Grandin
b700e3426e loplugin:mergeclasses
Change-Id: I131d192a0029ec3eebacb72341ba3113de0e19ac
2015-10-07 08:27:26 +02:00
Noel Grandin
3fbc3adefd loplugin:mergeclasses
Change-Id: I1347e51ef727da81be0c7937cad6e3f5edbf15a8
2015-10-07 08:27:26 +02:00
Noel Grandin
6fbbb8504a loplugin:mergeclasses
Change-Id: I45ccf880900f46a121c73152615ec3534a47d750
2015-10-07 08:27:26 +02:00
Noel Grandin
b981473658 loplugin:mergeclasses
Change-Id: I93bb1b9de62d30960028b719ee7ec773358c5c0f
2015-10-07 08:27:26 +02:00
Noel Grandin
973961ae60 loplugin:mergeclasses
Change-Id: I01810a8db024e207783fc09b88bd932bca8ed103
2015-10-07 08:27:26 +02:00
Noel Grandin
94b0c2203b loplugin:mergeclasses
Change-Id: Ia19514d33fd025a1df9d26b94e2d39113d122392
2015-10-07 08:27:25 +02:00
Noel Grandin
2e658321f5 loplugin:mergeclasses
Change-Id: I84dee96b7a1f72db46e3330ec5195367dfce894a
2015-10-07 08:27:25 +02:00
Noel Grandin
4281599a04 loplugin:mergeclasses
Change-Id: If5da1527a048997aec1dbc07afbdddabd2c4168d
2015-10-07 08:27:25 +02:00
Noel Grandin
e7311cbaba loplugin:mergeclasses
Change-Id: Ia3b63df5e8752690e3350f8a13445a096a839952
2015-10-07 08:27:25 +02:00
Noel Grandin
05e61719e2 loplugin:mergeclasses
Change-Id: If918532fcc860e3deacd9c86dd7a2d554e4f748d
2015-10-07 08:27:25 +02:00
Noel Grandin
2b57de8bb0 remove another custom refcounting base class
Change-Id: Icd8a8d79da0ada68e9ee869c3c2a7b93db5b2733
2015-10-07 08:27:25 +02:00
Noel Grandin
857ff93895 loplugin:mergeclasses
Change-Id: I9b5f35ac3a491bcf0bb5bb1b04f749321fc9f72b
2015-10-07 08:27:24 +02:00
Stephan Bergmann
f94d4952dc Commit loplugin:returnunique to store/, for reference
Change-Id: I359d8ab47276e5c801522251d5e141946d94ca5d
2015-10-06 12:44:37 +02:00
Noel Grandin
7e776c0027 loplugin:unusedmethods
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-10-06 10:17:02 +02:00
Noel Grandin
8a248d69cc loplugin:mergeclasses
in this case, just rename the baseclass so that it matches the
other places we do this

Change-Id: I21704db7352f72e43636dde9e92c8bef61b7e251
2015-10-06 09:26:14 +02:00
Noel Grandin
946b9a04c4 loplugin:mergeclasses
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-06 08:41:58 +02:00
Noel Grandin
d451de7f08 loplugin:mergeclasses
Change-Id: I592eef7503bd0b492f73ea5216f436302ad79ca8
2015-10-06 08:41:58 +02:00
Noel Grandin
4e2a8b78be loplugin:mergeclasses
Change-Id: I7c8c60aab31517d595a7e37c3789fa1e515ec3ee
2015-10-06 08:41:58 +02:00
Noel Grandin
58aea3f36c loplugin:unusedmethods
- 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-10-01 10:43:24 +00:00
Andrea Gelmini
ce343470c3 Fix typos
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-30 06:00:18 +00:00
Noel Grandin
34180700b2 loplugin:removeunusedmethods, remove unused stuff
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-29 15:08:43 +02:00
Stephan Bergmann
e710170d90 Avoid ambiguity with C++14 std::make_unique
Change-Id: I81b8bed175527bab02ffdd2fa17fa6a66c243d95
2015-09-29 15:04:21 +02:00
Daniel Robertson
ef779d339e tdf#94389 compilerplugins: clang 3.7.0
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-21 13:53:47 +00:00
Noel Grandin
c542679e72 move mergeclasses loplugin result file to compilerplugins/
to keep it out of the top-level folder

Change-Id: I4bb95b8ae856462e9638f43fde1553e49dd31cc9
2015-09-08 13:10:05 +02:00
Noel Grandin
d7efea29cd new loplugin mergeclasses
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-08 08:09:26 +02:00
Stephan Bergmann
37a6fdf890 loplugin:stringconstant also for cases using char const v[] = "..."
Change-Id: Iba38686620624178a7be39d703389402bbcea4cb
2015-09-03 09:34:00 +02:00