[all-commits] [llvm/llvm-project] 38b4df: [clang] Fix wrong warning about missing init for f...

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Fri Sep 15 01:58:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 38b4df5e2e852c6f04aad1d2751e552c62851205
      https://github.com/llvm/llvm-project/commit/38b4df5e2e852c6f04aad1d2751e552c62851205
  Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

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

  Log Message:
  -----------
  [clang] Fix wrong warning about missing init for flexible array members (#66341)

91088978d712cd7b33610c59f69d87d5a39e3113 shouldn't have removed an
additional check that field has incomplete array type.

Fixes https://github.com/llvm/llvm-project/issues/66300

Co-authored-by: Aaron Ballman <aaron at aaronballman.com>




More information about the All-commits mailing list