rsmith added a comment.

This change has introduced a false positive for anonymous union members:

  struct A {
      int m;
      union { int n = 0; };
  };
  
  A a = A{.m = 0};

now produces a false positive warning saying that the anonymous union member in 
`A` is uninitialized.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157879

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D157879: ... Richard Smith - zygoloid via Phabricator via cfe-commits

Reply via email to