Skip to content

Commit 4ad43d0

Browse files
committed
[rebranch] Handle new BuiltinType::Ibm128
1 parent 5343c72 commit 4ad43d0

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

lib/ClangImporter/ClangAdapter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ OmissionTypeName importer::getClangTypeNameForOmission(clang::ASTContext &ctx,
396396
case clang::BuiltinType::Float16:
397397
case clang::BuiltinType::Float128:
398398
case clang::BuiltinType::NullPtr:
399+
case clang::BuiltinType::Ibm128:
399400
return OmissionTypeName();
400401

401402
// Objective-C types that aren't mapped directly; rather, pointers to

lib/ClangImporter/ImportType.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ namespace {
289289
case clang::BuiltinType::Float128:
290290
case clang::BuiltinType::NullPtr:
291291
case clang::BuiltinType::Char8:
292+
case clang::BuiltinType::Ibm128:
292293
return Type();
293294

294295
// Objective-C types that aren't mapped directly; rather, pointers to

lib/IRGen/GenCall.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,6 +1119,8 @@ namespace {
11191119
return convertFloatingType(Ctx.getTargetInfo().getBFloat16Format());
11201120
case clang::BuiltinType::Float128:
11211121
return convertFloatingType(Ctx.getTargetInfo().getFloat128Format());
1122+
case clang::BuiltinType::Ibm128:
1123+
return convertFloatingType(Ctx.getTargetInfo().getIbm128Format());
11221124

11231125
// nullptr_t -> void*
11241126
case clang::BuiltinType::NullPtr:

0 commit comments

Comments
 (0)