mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 03:29:57 +00:00
[APINotes] Remove unused OS-availability feature
iOS/OSX-specific availability is a legacy of compiled API Notes which
are not supported and were removed from Apple Clang in 2019 (see
30fc70f349
).
This commit is contained in:
parent
ad9af7de90
commit
86c31c1406
@ -28,8 +28,6 @@ using namespace api_notes;
|
||||
namespace {
|
||||
enum class APIAvailability {
|
||||
Available = 0,
|
||||
OSX,
|
||||
IOS,
|
||||
None,
|
||||
NonSwift,
|
||||
};
|
||||
@ -39,8 +37,6 @@ namespace llvm {
|
||||
namespace yaml {
|
||||
template <> struct ScalarEnumerationTraits<APIAvailability> {
|
||||
static void enumeration(IO &IO, APIAvailability &AA) {
|
||||
IO.enumCase(AA, "OSX", APIAvailability::OSX);
|
||||
IO.enumCase(AA, "iOS", APIAvailability::IOS);
|
||||
IO.enumCase(AA, "none", APIAvailability::None);
|
||||
IO.enumCase(AA, "nonswift", APIAvailability::NonSwift);
|
||||
IO.enumCase(AA, "available", APIAvailability::Available);
|
||||
|
Loading…
Reference in New Issue
Block a user