[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Prevent unnamed bitfield creation in the presence of overlapping fields (PR #108343)
Kazu Hirata via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 12 10:28:29 PDT 2024
kazutakahirata wrote:
> Hmm, this seems to be breaking LLVM build:
>
> ```
> error: initialization of non-aggregate type 'FieldInfo' with a designated initializer list
> | FieldInfo this_field_info{.is_bitfield = false};
> ```
FWIW, with clang-16.0.6 as the host compiler, I get:
```
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp:2935:31: error: designated initializers are a C++20 extension [-Werror,-Wc++20-designator]
FieldInfo this_field_info{.is_bitfield = false};
^
1 error generated.
```
https://github.com/llvm/llvm-project/pull/108343
More information about the lldb-commits
mailing list