[PATCH] D117163: Replace PlatformKind with PlatformType.

Juergen Ributzka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 12 15:01:35 PST 2022


ributzka created this revision.
ributzka added reviewers: cishida, pete, lgerbarg, gkm, smeenai.
Herald added a subscriber: hiraditya.
Herald added a project: lld-macho.
Herald added a reviewer: lld-macho.
ributzka requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The PlatformKind/PlatformType enums contain the same information, which requires
them to be kept in-sync. This commit changes over to PlatformType as the sole
source of truth, which allows the removal of the redundant PlatformKind.

The majority of the changes were in LLD and TextAPI.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117163

Files:
  lld/MachO/Config.h
  lld/MachO/Driver.cpp
  lld/MachO/Driver.h
  lld/MachO/InputFiles.cpp
  lld/MachO/SyntheticSections.cpp
  lld/MachO/Writer.cpp
  llvm/include/llvm/BinaryFormat/MachO.h
  llvm/include/llvm/TextAPI/Platform.h
  llvm/include/llvm/TextAPI/Target.h
  llvm/lib/MC/MCAsmStreamer.cpp
  llvm/lib/MC/MCParser/DarwinAsmParser.cpp
  llvm/lib/Object/TapiFile.cpp
  llvm/lib/TextAPI/Platform.cpp
  llvm/lib/TextAPI/Target.cpp
  llvm/lib/TextAPI/TextStub.cpp
  llvm/lib/TextAPI/TextStubCommon.cpp
  llvm/tools/llvm-ifs/llvm-ifs.cpp
  llvm/tools/llvm-tapi-diff/DiffEngine.cpp
  llvm/unittests/TextAPI/TextStubV1Tests.cpp
  llvm/unittests/TextAPI/TextStubV2Tests.cpp
  llvm/unittests/TextAPI/TextStubV3Tests.cpp
  llvm/unittests/TextAPI/TextStubV4Tests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117163.399482.patch
Type: text/x-patch
Size: 56125 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220112/d9e41389/attachment.bin>


More information about the llvm-commits mailing list