[all-commits] [llvm/llvm-project] 3b916a: [MC] Remove duplicate Contents field from MCLEBFra...

Craig Topper via All-commits all-commits at lists.llvm.org
Sat Nov 18 10:37:35 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b916ad6733b04a86ca0aec57be647daf4647d5b
      https://github.com/llvm/llvm-project/commit/3b916ad6733b04a86ca0aec57be647daf4647d5b
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-11-18 (Sat, 18 Nov 2023)

  Changed paths:
    M llvm/include/llvm/MC/MCFragment.h

  Log Message:
  -----------
  [MC] Remove duplicate Contents field from MCLEBFragment.

There's already a Contents field in the MCEncodedFragmentWithFixups
base class. The Contents field in MCLEBFragment is private and there
is no accessor for it. It is initialized in the constructor, but that
should probably initialize the base class version.




More information about the All-commits mailing list