diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-05-18 08:39:17 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-05-18 09:30:41 +0200 |
commit | 9c3c6a6b661ea8f84c1285b07a502de5c98a1495 (patch) | |
tree | 80c0ae8b54b7df6326953e3bb2d607996a08242c /external/fontconfig | |
parent | f8512cf3a8aabdba60c2994bed71c845efc6a25e (diff) |
Replace OFFSET_OF macro with a function template
(in preparation of extending loplugin:redundantcast to more reinterpret_cast
scenarios, which would have caused a false positive here). Required a tweak to
loplugin:fakebool (as the relevant reinterpret_cast to silence some occurrences
is no longer seen "inline" now), and the heuristics of loplugin:unused no longer
worked (also because of the now-hidden reinterpret_cast'ing), but adding a
maybe_unused attribute looks better than tweaking that plugin's heuristics even
further.
Change-Id: Iead1a9b31983918cf8f3b0e6c727c0081437c6d2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134504
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external/fontconfig')
0 files changed, 0 insertions, 0 deletions