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-07 21:57:13 +02:00
2019-10-07 15:21:50 +02:00
2019-10-08 11:30:17 +02:00
2019-10-01 17:36:39 +02:00
2019-07-01 10:23:53 +02:00
2019-08-28 12:47:21 +02:00
2019-09-13 09:27:20 +02:00
2019-10-08 11:30:17 +02:00
2019-07-31 16:29:45 +02:00
2019-07-19 09:05:58 +02:00
2019-08-01 22:19:41 +02:00
2019-07-19 09:05:58 +02:00
2019-10-07 15:21:50 +02:00
2019-08-16 22:32:42 +02:00
2019-10-07 15:21:50 +02:00
2019-10-07 21:56:55 +02:00
2019-10-07 15:21:50 +02:00
2019-09-29 12:43:37 +02:00
2019-08-21 11:16:15 +02:00
2019-10-07 15:21:50 +02:00
2019-07-19 09:06:25 +02:00
2019-04-19 13:19:31 +02:00
2019-07-17 19:32:43 +02:00
2019-10-07 21:56:55 +02:00
2019-07-17 19:32:43 +02:00
2019-10-02 08:19:26 +02:00
2019-10-07 21:56:55 +02:00
2019-07-17 19:32:43 +02:00
2019-10-07 21:56:55 +02:00
2019-10-07 15:21:50 +02:00
2019-05-22 14:46:34 +02:00
2019-07-17 19:32:43 +02:00
2019-07-17 19:32:43 +02:00
2019-10-07 15:21:50 +02:00
2019-07-17 19:32:43 +02:00
2019-10-06 16:57:23 +02:00
2019-09-19 11:42:47 +02:00
2019-10-07 21:56:55 +02:00
2019-10-07 21:56:55 +02:00
2019-07-17 20:40:01 +02:00
2019-10-07 15:21:50 +02:00
2019-07-17 19:32:43 +02:00
2019-07-17 19:32:43 +02:00
2019-07-17 20:40:01 +02:00
2019-07-17 19:32:43 +02:00
2019-08-26 13:48:13 +02:00
2019-04-19 13:19:31 +02:00
2019-10-07 15:21:50 +02:00
2019-10-07 15:21:50 +02:00
2019-10-04 08:54:02 +02:00
2019-10-04 08:54:02 +02:00
2019-10-04 08:54:02 +02:00
2019-07-17 19:32:43 +02:00
2019-10-01 21:41:44 +02:00
2019-10-07 21:56:55 +02:00
2019-05-05 17:44:48 +02:00
2019-07-30 21:14:11 +02:00
2019-07-17 09:56:25 +02:00
2019-07-23 06:46:41 +02:00
2019-07-17 20:40:01 +02:00
2019-06-18 20:10:57 +02:00
2019-10-07 15:21:50 +02:00
2019-08-27 18:42:13 +02:00
2019-08-21 12:37:36 +02:00
2019-07-16 21:31:22 +02:00
2019-07-16 21:31:22 +02:00
2019-07-16 21:31:22 +02:00
2019-05-19 11:56:14 +02:00
2019-08-27 18:42:13 +02:00
2019-09-13 09:27:20 +02:00
2019-07-16 14:16:55 +02:00
2019-10-08 08:26:23 +02:00
2019-05-31 12:22:10 +02:00
2019-08-27 18:42:13 +02:00
2019-08-26 13:48:13 +02:00
2019-05-16 12:41:36 +02:00
2019-07-16 14:16:55 +02:00
2019-07-16 09:15:01 +02:00
2019-04-17 21:59:53 +02:00
2019-09-25 22:14:02 +02:00
2019-04-12 17:52:44 +02:00
2019-07-16 09:15:01 +02:00
2019-10-07 15:21:50 +02:00
2019-09-05 14:13:33 +02:00
2019-07-15 18:18:57 +02:00
2019-10-04 08:53:37 +02:00
2019-10-07 15:21:50 +02:00
2019-10-04 08:53:37 +02:00
2019-07-16 09:15:01 +02:00
2019-07-16 09:15:01 +02:00
2019-07-15 18:18:57 +02:00
2019-07-15 18:18:57 +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-01 15:13:43 +02:00
2019-10-07 15:21:50 +02:00
2019-10-07 21:56:55 +02:00
2019-07-16 09:15:01 +02:00
2019-07-17 20:40:01 +02:00
2019-07-16 09:15:01 +02:00
2019-10-03 17:49:41 +02:00
2019-10-07 15:21:50 +02:00
2019-10-03 17:49:41 +02:00
2019-07-16 09:15:01 +02:00
2019-07-16 09:15:01 +02:00
2019-07-17 20:40:01 +02:00
2019-10-07 15:21:50 +02:00
2019-07-30 09:51:39 +02:00
2019-08-26 18:51:01 +02:00
2019-08-26 18:51:01 +02:00
2019-09-04 09:12:32 +02:00
2019-10-07 15:21:50 +02:00
2019-10-04 14:22:55 +02:00
2019-10-03 12:16:38 +02:00
2019-10-04 14:22:55 +02:00
2019-10-04 14:22:55 +02:00
2019-10-04 14:22:55 +02:00
2019-10-07 21:56:55 +02:00
2019-10-07 15:21:50 +02:00
2019-10-04 14:22:40 +02:00
2019-10-04 14:22:40 +02:00
2019-10-07 21:56:55 +02:00
2019-09-06 09:15:58 +02:00
2019-04-19 22:57:57 +02:00
2019-10-07 15:21:50 +02:00
2019-09-26 20:16:45 +02:00
2019-10-03 16:34:45 +02:00
2019-10-07 15:21:50 +02:00
2019-06-11 07:53:14 +02:00
2019-07-16 09:15:01 +02:00
2019-10-07 15:21:50 +02:00