[all-commits] [llvm/llvm-project] ec4408: [CodeGen] Call ConvertTypeForMem instead of Conver...

Akira Hatanaka via All-commits all-commits at lists.llvm.org
Thu Feb 25 12:11:46 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec4408ad692b20a01cca8b5d86f359f6f16bae87
      https://github.com/llvm/llvm-project/commit/ec4408ad692b20a01cca8b5d86f359f6f16bae87
  Author: Akira Hatanaka <ahatanaka at apple.com>
  Date:   2021-02-25 (Thu, 25 Feb 2021)

  Changed paths:
    M clang/lib/CodeGen/CGNonTrivialStruct.cpp
    M clang/test/CodeGenObjC/strong-in-c-struct.m

  Log Message:
  -----------
  [CodeGen] Call ConvertTypeForMem instead of ConvertType

This fixes a crash that occurs when the type passed to the method is
`_Bool`.

rdar://74493389




More information about the All-commits mailing list