Stephan Bergmann 8f4fdb405a New loplugin:classmemaccess
...to complement and improve upon GCC's -Wclass-memaccess.  See the comment at
the head of compilerplugins/clang/classmemaccess.cxx for details.  (It is not
yet clear to me whether we would want to get this upstreamed into Clang.)

35d21e4bf6f66b3bbc7a44fcf184cb721b524a94 "Remove redundant memsets" was a case
that benefited from looking through toplevel casts to void*.  (Though the code
in include/basic/sbxvar.hxx needs a slightly more verbose way to deliberately
silence the warning now.)

d03041e19215592f21ba1222d3cfa29e1f94260a "Drop bogus memsets" is one example of
various cases that GCC -Wclass-memaccess failed to catch due to the use of array
instead of pointer types.

Change-Id: I6a9bfc34e3536834af35fdf4fb7ceeb31f31f8c0
Reviewed-on: https://gerrit.libreoffice.org/80421
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-10-08 11:30:17 +02:00
..
2019-10-08 11:30:17 +02:00
2019-07-01 10:23:53 +02:00
2019-08-28 12:47:21 +02:00
2019-10-08 11:30:17 +02:00
2019-04-19 13:19:31 +02:00
2019-10-06 16:57:23 +02:00
2019-04-19 13:19:31 +02:00
2019-10-04 08:54:02 +02:00
2019-10-04 08:54:02 +02:00
2019-06-18 20:10:57 +02:00
2019-04-17 21:59:53 +02:00
2019-04-12 17:52:44 +02:00
2019-08-28 12:47:21 +02:00
2019-10-02 11:22:27 +02:00
2019-09-17 10:13:47 +02:00
2019-10-03 12:16:38 +02:00
2019-10-04 14:22:40 +02:00
2019-09-06 09:15:58 +02:00
2019-04-19 22:57:57 +02:00
2019-10-03 16:34:45 +02:00