[all-commits] [llvm/llvm-project] bb852a: [GNU ObjC] Fix a regression listing methods twice.

David Chisnall via All-commits all-commits at lists.llvm.org
Thu Dec 3 19:02:22 PST 2020


  Branch: refs/heads/release/11.x
  Home:   https://github.com/llvm/llvm-project
  Commit: bb852a09ae36eec895445aee102d1751af9633d7
      https://github.com/llvm/llvm-project/commit/bb852a09ae36eec895445aee102d1751af9633d7
  Author: David Chisnall <github at theravensnest.org>
  Date:   2020-12-03 (Thu, 03 Dec 2020)

  Changed paths:
    M clang/lib/CodeGen/CGObjCGNU.cpp
    A clang/test/CodeGenObjC/gnu-method-only-once.m

  Log Message:
  -----------
  [GNU ObjC] Fix a regression listing methods twice.

Methods synthesized from declared properties were being added to the
method lists twice.  This came from the change to list them in the
class's method list, which missed removing the place in CGObjCGNU that
added them again.

Reviewed By: lanza

Differential Revision: https://reviews.llvm.org/D91874

(cherry picked from commit d1ed67037de6f3f44dc446784f74f0e02adec9b5)




More information about the All-commits mailing list