[PATCH] D157879: [clang] Report missing designated initializers in C++

Mariya Podchishchaeva via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 17 04:17:48 PDT 2023


Fznamznon added a comment.

In D157879#4594790 <https://reviews.llvm.org/D157879#4594790>, @tbaeder wrote:

> Tangentially related: Now that we have this `InitializedFields` set, would it be easy to add a warning for double-initialization of fields (that would also trigger in C)?

Isn't a warning like this already in place - https://godbolt.org/z/E1dGsY3ze ? Or you meant something else?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157879/new/

https://reviews.llvm.org/D157879



More information about the cfe-commits mailing list