[all-commits] [llvm/llvm-project] 5cda36: Revert "[clang] Fix false positive -Wmissing-field...

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Mon Dec 18 07:09:36 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5cda366221236a43fdd89bca59e153b4384eaba8
      https://github.com/llvm/llvm-project/commit/5cda366221236a43fdd89bca59e153b4384eaba8
  Author: Podchishchaeva, Mariya <mariya.podchishchaeva at intel.com>
  Date:   2023-12-18 (Mon, 18 Dec 2023)

  Changed paths:
    M clang/lib/Sema/SemaInit.cpp
    M clang/test/Sema/missing-field-initializers.c
    M clang/test/SemaCXX/cxx2a-initializer-aggregates.cpp

  Log Message:
  -----------
  Revert "[clang] Fix false positive -Wmissing-field-initializer for anonymous unions (#70829)"

This reverts commit a01307a6ee788fc6ac2e09e58f0f52e5666def86 and its
follow-up fix 32d5221ec4810dd723ccebaabbda1df5d3b4cfcf.

It caused unexpected warnings emitted for nested designators in C.




More information about the All-commits mailing list