Stephan Bergmann 2157160b26 Recursively include unnamed inner classes in "layout heuristic"
This covers both cases where the inner class is defined in the declaration of a
non-static data member, as needed by clang-cl for

> bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx(799,19): error: unused class member [loplugin:unusedmember]
>             PVOID pExceptionObject;
>             ~~~~~~^~~~~~~~~~~~~~~~
> bridges/source/cpp_uno/msvc_win32_x86-64/except.cxx(801,19): error: unused class member [loplugin:unusedmember]
>             PVOID pThrowImageBase;
>             ~~~~~~^~~~~~~~~~~~~~~

as well as anonymous structs (even if there appears to be no need for that
across the LO code base; they are part of C11 and a widely supported C++
extension).

The newly added TODO will eventually need fixing, but I didn't find a way in
Clang to tell whether a RecordDecl is defined as part of a FieldDecl, and the
issue appears to be of no practical relevance for the current LO code base.

Change-Id: I08cecddb9b4a70c3ca480d2d2ab1ea4f198011b2
Reviewed-on: https://gerrit.libreoffice.org/84967
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-12-11 19:51:31 +01:00
..
2019-07-01 10:23:53 +02:00
2019-10-08 11:30:17 +02:00
2019-01-25 07:58:04 +01:00
2019-08-01 14:40:46 +02:00
2019-08-30 08:12:07 +02:00
2019-08-23 09:12:16 +02:00
2019-04-17 21:59:53 +02:00
2019-08-28 12:47:21 +02:00
2019-03-25 07:19:13 +01:00
2019-01-18 07:51:04 +01:00