[llvm-ifs] Improving detection of PlatformKind from triple for TBD generation.
authorPuyan Lotfi <puyan@puyan.org>
Fri, 6 Sep 2019 19:59:59 +0000 (19:59 +0000)
committerPuyan Lotfi <puyan@puyan.org>
Fri, 6 Sep 2019 19:59:59 +0000 (19:59 +0000)
commit5476bd943203096f52fd49b15638bbe1b48e012c
tree851e7c2e733f884ed91ad6b7e069e413d5afff9b
parenteaf34a983c71446a176edc781e6276bc3d922eb8
[llvm-ifs] Improving detection of PlatformKind from triple for TBD generation.

It was pointed out that I had hard-coded PlatformKind. This is rectifying that.

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

llvm-svn: 371248
llvm/test/tools/llvm-ifs/ios-tbd.ifs [new file with mode: 0644]
llvm/test/tools/llvm-ifs/macos-tbd.ifs [new file with mode: 0644]
llvm/test/tools/llvm-ifs/tvos-tbd.ifs [new file with mode: 0644]
llvm/test/tools/llvm-ifs/watchos-tbd.ifs [new file with mode: 0644]
llvm/tools/llvm-ifs/llvm-ifs.cpp