[all-commits] [llvm/llvm-project] 3f8c6f: [lld-macho][NFC] Remove redundant member from clas...

Greg McGary via All-commits all-commits at lists.llvm.org
Fri Apr 2 09:20:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f8c6f493b06d72312757102f8277d367409bcdd
      https://github.com/llvm/llvm-project/commit/3f8c6f493b06d72312757102f8277d367409bcdd
  Author: Greg McGary <gkm at fb.com>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M lld/MachO/Symbols.h

  Log Message:
  -----------
  [lld-macho][NFC] Remove redundant member from class Defined

`class Symbol` defines a data member `InputFile *file;`
`class Defined` inherits from `Symbol` and also defines a data member `InputFile *file;` for no apparent purpose.

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




More information about the All-commits mailing list