Stephan Bergmann
|
ba94c97644
|
loplugin:cstylecast: Better heuristic...
to determine code shared between C and C++
Change-Id: I1fadf69bf9d0a2bde527b7c3f2ec4c687d70e4ae
|
2016-07-12 17:53:16 +02:00 |
|
Stephan Bergmann
|
733198de1b
|
Remove support for Clang < 3.4
Change-Id: I81e97c5f720535b33dd3ce72d01151765e4e93a0
|
2016-06-29 09:15:25 +02:00 |
|
Wastack
|
9a13cff647
|
tdf#97966: Remove 'static' keywords
Change-Id: Id991cead4f01830eafd9cf8dd63b519ef07c9451
Reviewed-on: https://gerrit.libreoffice.org/23134
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
|
2016-03-11 08:57:51 +00:00 |
|
Andrea Gelmini
|
597e694e7e
|
Fix typos
Change-Id: I90b04b8eda6fc3d530c9db72052720cbe9de0343
Reviewed-on: https://gerrit.libreoffice.org/21197
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
|
2016-01-07 12:29:04 +00:00 |
|
Noel Grandin
|
d163e206a7
|
loplugin:cstylecast, put the CastKind info back
Change-Id: Ia438d3a383cdc6c0343fa116488730a130f634af
|
2015-08-21 10:33:08 +02:00 |
|
Noel Grandin
|
54f1a882cc
|
fix my previous change to cstylecast loplugin
in commit 5a58e809fceada72cecc389588bcd792eb3d8105
Change-Id: I43c7fa9dda04a11a9a6424b461b3915da968fe27
|
2015-08-21 10:24:30 +02:00 |
|
Noel Grandin
|
5a58e809fc
|
loplugin:cstylecast
and improve the error message in the plugin
Change-Id: I8719832a48e14c132f463340fbbc537845f82b0b
|
2015-08-20 10:26:24 +02:00 |
|
Stephan Bergmann
|
f1bbda1c26
|
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Ic714e7f887b421e491544b7c985351077170344d
|
2015-06-08 16:30:14 +02:00 |
|
Stephan Bergmann
|
acd4ecc38f
|
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: Ice7bbdea1d0df0a92f2e1b38f033adaff2fb8b07
|
2015-06-02 11:29:13 +02:00 |
|
Stephan Bergmann
|
3f3c4000d4
|
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: I16fdb3a6e92c854f4143b5afd19d33818735222b
|
2015-05-11 12:51:57 +02:00 |
|
Stephan Bergmann
|
a52cf476e7
|
Clean up template-parameter-dependent C-style casts
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
|
2015-03-29 15:13:45 +02:00 |
|
Stephan Bergmann
|
0bd502af47
|
Clean up remaining C-style casts among void pointers
Change-Id: I1b49c020d597b569e330482f4dbf20c15ccdae3f
|
2015-03-29 09:17:47 +02:00 |
|
Stephan Bergmann
|
ef44d45a4e
|
Clean up C-style casts from pointers to void
Change-Id: Idff46e5642034cf751d557de9a49c02a7abf27bb
|
2015-03-28 19:09:29 +01:00 |
|
Stephan Bergmann
|
1c78277801
|
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: I876736d18db6676629c283fccd65e1b6fb2bb2be
|
2015-03-26 15:33:41 +01:00 |
|
Stephan Bergmann
|
331faca18e
|
Extract loplugin:redundantcast from loplugin:cstylecast
Change-Id: I08f17dd9cc092206083ff41bbbc178e0322e86d0
|
2015-01-29 22:21:04 +01:00 |
|
Stephan Bergmann
|
4e3da621fe
|
Some more loplugin:cstylecast clean-up
Change-Id: I132d22e2af3cf673c17d8964f690d48990834884
|
2015-01-28 13:50:37 +01:00 |
|
Stephan Bergmann
|
3adaad3e36
|
loplugin:cstylecast: Warn about more of the potentially suspicious ones
Change-Id: Id7a596344c21e9265e35188c477e60ce510bcc6e
|
2015-01-22 08:13:42 +01:00 |
|
Stephan Bergmann
|
31498259bb
|
loplugin:cstylecast: warn about certain redundant reinterpret_casts
Change-Id: Iaa46849742c215798722d03d9ee59bb39d8033f7
|
2015-01-09 16:42:42 +01:00 |
|
Stephan Bergmann
|
44d0e286c8
|
loplugin:cstylecast: improve detection of C code
Change-Id: Id5dd1ee1a29c4e1c7cb2b58419d6ccb1f032bffe
|
2015-01-08 10:59:39 +01:00 |
|
Stephan Bergmann
|
61e02d6ffc
|
loplugin:cstylecast: No need to exclude include/cppuhelper
Change-Id: Ie74be926c1e071fa9b311920b1cf1d4dd5bbd30d
|
2015-01-07 20:26:04 +01:00 |
|
Stephan Bergmann
|
a4b0078ba9
|
tools/solar.h already filtered out via filename.endsWith(".h")
Change-Id: I8a4483a6425f51fea0eae5c809c6c41ef56388a2
|
2015-01-07 14:42:08 +01:00 |
|
Stephan Bergmann
|
25fb442651
|
loplugin:cstylecast: bridges
Change-Id: I7c41b90c9af045fd452ee62ed0c5d9b261236855
|
2015-01-07 14:42:07 +01:00 |
|
Stephan Bergmann
|
7b1261f6f9
|
loplugin:cstylecast: sal
Change-Id: I0ad9681a8b31d78cefce5b66040415154a1c7a99
|
2015-01-07 14:42:07 +01:00 |
|
Stephan Bergmann
|
1887d4f5e9
|
Minor beautification
Change-Id: I1300d1d696878c1b646decc2841f13d489d3cadc
|
2015-01-07 14:42:07 +01:00 |
|
Stephan Bergmann
|
52e5b6e38a
|
loplugin:cstylecast: Exclude only sal, not salhelper
Change-Id: Ib09f2b794ce7a1e650275750a67c6c8ad5d7c808
|
2015-01-07 14:42:07 +01:00 |
|
Stephan Bergmann
|
1b9d9680d9
|
Work around loplugin:cstylecast under -fsanitize=*
Change-Id: I467d032296607d22e850c95e56c452fe7e62cebe
|
2015-01-06 14:34:34 +01:00 |
|
Stephan Bergmann
|
afcac82eea
|
loplugin:cstylecast: warn about casts involving incomplete types
...the worst kind of all
Change-Id: I6b98a324735a79ed9060003b491acce733f74f06
|
2014-12-07 15:18:08 +01:00 |
|
Noel Grandin
|
c20a0120d8
|
move the cstylecast clang plugin out of /store
Change-Id: Iee78bd688ddb3e02deb1a3636d6a604838e97b09
|
2014-12-04 13:38:53 +02:00 |
|
Stephan Bergmann
|
889e27c165
|
codebase is not yet cleaned up for loplugin:cstylecast
Change-Id: Ic2faece46bebea046eee984a0d53d9cd2892e0c9
|
2014-09-08 09:04:19 +02:00 |
|
Noel Grandin
|
ed75aa2719
|
create clang plugin to warn about C-style casts
We don't like C-style casts in our nice C++ code
Change-Id: I94e7ec90de9275cd6e20c4146d4f3a74bed93c9d
Reviewed-on: https://gerrit.libreoffice.org/10367
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
|
2014-09-07 02:42:30 -05:00 |
|