[all-commits] [llvm/llvm-project] 3025c3: Replace PlatformKind with PlatformType.
Juergen Ributzka via All-commits
all-commits at lists.llvm.org
Thu Jan 13 09:24:05 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3025c3ededf955fa7f1da7bd7124346c1693f9f2
https://github.com/llvm/llvm-project/commit/3025c3ededf955fa7f1da7bd7124346c1693f9f2
Author: Juergen Ributzka <juergen at ributzka.de>
Date: 2022-01-13 (Thu, 13 Jan 2022)
Changed paths:
M lld/MachO/Config.h
M lld/MachO/Driver.cpp
M lld/MachO/Driver.h
M lld/MachO/InputFiles.cpp
M lld/MachO/SyntheticSections.cpp
M lld/MachO/Writer.cpp
M llvm/include/llvm/BinaryFormat/MachO.h
M llvm/include/llvm/TextAPI/Platform.h
M llvm/include/llvm/TextAPI/Target.h
M llvm/lib/MC/MCAsmStreamer.cpp
M llvm/lib/MC/MCParser/DarwinAsmParser.cpp
M llvm/lib/Object/TapiFile.cpp
M llvm/lib/TextAPI/Platform.cpp
M llvm/lib/TextAPI/Target.cpp
M llvm/lib/TextAPI/TextStub.cpp
M llvm/lib/TextAPI/TextStubCommon.cpp
M llvm/tools/llvm-ifs/llvm-ifs.cpp
M llvm/tools/llvm-tapi-diff/DiffEngine.cpp
M llvm/unittests/TextAPI/TextStubV1Tests.cpp
M llvm/unittests/TextAPI/TextStubV2Tests.cpp
M llvm/unittests/TextAPI/TextStubV3Tests.cpp
M llvm/unittests/TextAPI/TextStubV4Tests.cpp
Log Message:
-----------
Replace PlatformKind with PlatformType.
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.
Reviewed By: cishida
Differential Revision: https://reviews.llvm.org/D117163
More information about the All-commits
mailing list