11 Commits

Author SHA1 Message Date
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