mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Make a .def file for PlatformConditionKind
This commit is contained in:
@@ -66,12 +66,8 @@ static const StringRef SupportedConditionalCompilationTargetEnvironments[] = {
|
||||
};
|
||||
|
||||
static const PlatformConditionKind AllPlatformConditionKinds[] = {
|
||||
PlatformConditionKind::OS,
|
||||
PlatformConditionKind::Arch,
|
||||
PlatformConditionKind::Endianness,
|
||||
PlatformConditionKind::Runtime,
|
||||
PlatformConditionKind::CanImport,
|
||||
PlatformConditionKind::TargetEnvironment
|
||||
#define PLATFORM_CONDITION(LABEL, IDENTIFIER) PlatformConditionKind::LABEL,
|
||||
#include "swift/AST/PlatformConditionKinds.def"
|
||||
};
|
||||
|
||||
template <size_t N>
|
||||
|
||||
Reference in New Issue
Block a user