mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
@@ -71,7 +71,7 @@ getClangBuiltinTypeFromKind(const clang::ASTContext &context,
|
||||
#define SVE_TYPE(Name, Id, SingletonId) \
|
||||
case clang::BuiltinType::Id: \
|
||||
return context.SingletonId;
|
||||
#include "clang/Basic/AArch64SVEACLETypes.def"
|
||||
#include "clang/Basic/AArch64ACLETypes.def"
|
||||
#define PPC_VECTOR_TYPE(Name, Id, Size) \
|
||||
case clang::BuiltinType::Id: \
|
||||
return context.Id##Ty;
|
||||
|
||||
@@ -428,7 +428,7 @@ OmissionTypeName importer::getClangTypeNameForOmission(clang::ASTContext &ctx,
|
||||
|
||||
// ARM SVE builtin types that don't have Swift equivalents.
|
||||
#define SVE_TYPE(Name, Id, ...) case clang::BuiltinType::Id:
|
||||
#include "clang/Basic/AArch64SVEACLETypes.def"
|
||||
#include "clang/Basic/AArch64ACLETypes.def"
|
||||
return OmissionTypeName();
|
||||
|
||||
// PPC MMA builtin types that don't have Swift equivalents.
|
||||
|
||||
@@ -347,7 +347,7 @@ namespace {
|
||||
|
||||
// ARM SVE builtin types that don't have Swift equivalents.
|
||||
#define SVE_TYPE(Name, Id, ...) case clang::BuiltinType::Id:
|
||||
#include "clang/Basic/AArch64SVEACLETypes.def"
|
||||
#include "clang/Basic/AArch64ACLETypes.def"
|
||||
return Type();
|
||||
|
||||
// PPC SVE builtin types that don't have Swift equivalents.
|
||||
|
||||
@@ -1322,7 +1322,7 @@ namespace {
|
||||
|
||||
// We should never see ARM SVE types at all.
|
||||
#define SVE_TYPE(Name, Id, ...) case clang::BuiltinType::Id:
|
||||
#include "clang/Basic/AArch64SVEACLETypes.def"
|
||||
#include "clang/Basic/AArch64ACLETypes.def"
|
||||
llvm_unreachable("ARM SVE type in ABI lowering");
|
||||
|
||||
// We should never see PPC MMA types at all.
|
||||
|
||||
Reference in New Issue
Block a user