[all-commits] [llvm/llvm-project] 20f005: [CodeGen][ObjC] Push the properties of a protocol ...

ahatanaka via All-commits all-commits at lists.llvm.org
Mon Jan 6 16:16:22 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 20f005d25f488fa1dc69d6792700e014c6a5d165
      https://github.com/llvm/llvm-project/commit/20f005d25f488fa1dc69d6792700e014c6a5d165
  Author: Akira Hatanaka <ahatanaka at apple.com>
  Date:   2020-01-06 (Mon, 06 Jan 2020)

  Changed paths:
    M clang/lib/CodeGen/CGObjCMac.cpp
    M clang/test/CodeGenObjC/encode-test-2.m

  Log Message:
  -----------
  [CodeGen][ObjC] Push the properties of a protocol before pushing the
properties of the protocol it inherits

This fixes a bug where the type string for a @dynamic property of an
@implementation didn't have 'D' in it when the protocol it conforms to
redeclares the property declared in the base protocol.

rdar://problem/45503561




More information about the All-commits mailing list