[all-commits] [llvm/llvm-project] 627746: Reapply "[clang][CodeGen] Zero init unspecified fi...

yabinc via All-commits all-commits at lists.llvm.org
Mon Oct 14 16:32:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 627746581b8fde4143533937130f420bbbdf9ddf
      https://github.com/llvm/llvm-project/commit/627746581b8fde4143533937130f420bbbdf9ddf
  Author: yabinc <yabinc at google.com>
  Date:   2024-10-14 (Mon, 14 Oct 2024)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c
    M clang/test/CodeGen/2008-08-07-AlignPadding1.c
    M clang/test/CodeGen/2009-06-14-anonymous-union-init.c
    M clang/test/CodeGen/64bit-swiftcall.c
    M clang/test/CodeGen/arm-swiftcall.c
    M clang/test/CodeGen/const-init.c
    M clang/test/CodeGen/decl.c
    M clang/test/CodeGen/designated-initializers.c
    M clang/test/CodeGen/ext-int.c
    M clang/test/CodeGen/flexible-array-init.c
    M clang/test/CodeGen/global-init.c
    M clang/test/CodeGen/init.c
    A clang/test/CodeGen/linux-kernel-struct-union-initializer.c
    A clang/test/CodeGen/linux-kernel-struct-union-initializer2.c
    M clang/test/CodeGen/mingw-long-double.c
    M clang/test/CodeGen/mms-bitfields.c
    M clang/test/CodeGen/union-init2.c
    M clang/test/CodeGen/windows-swiftcall.c
    M clang/test/CodeGenObjC/designated-initializers.m

  Log Message:
  -----------
  Reapply "[clang][CodeGen] Zero init unspecified fields in initializers in C" (#109898) (#110051)

This reverts commit d50eaac12f0cdfe27e942290942b06889ab12a8c. Also fixes
a bug calculating offsets for bit fields in the original patch.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list