File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ ConvertToClangTargetCXXABI(CppSharp::CppParser::AST::CppAbi abi)
234
234
case CppSharp::CppParser::AST::CppAbi::ARM:
235
235
return TargetCXXABI::GenericARM;
236
236
case CppSharp::CppParser::AST::CppAbi::AArch64:
237
- return TargetCXXABI::GenericARM ;
237
+ return TargetCXXABI::GenericAArch64 ;
238
238
case CppSharp::CppParser::AST::CppAbi::iOS:
239
239
return TargetCXXABI::iOS;
240
240
case CppSharp::CppParser::AST::CppAbi::AppleARM64:
@@ -731,16 +731,14 @@ void Parser::WalkVTable(const clang::CXXRecordDecl* RD, Class* C)
731
731
}
732
732
break ;
733
733
}
734
- case TargetCXXABI::GenericItanium :
734
+ default :
735
735
{
736
736
ItaniumVTableContext VTContext (AST);
737
737
738
738
auto & VTLayout = VTContext.getVTableLayout (RD);
739
739
C->layout ->layout = WalkVTableLayout (VTLayout);
740
740
break ;
741
741
}
742
- default :
743
- llvm_unreachable (" Unsupported C++ ABI kind" );
744
742
}
745
743
}
746
744
@@ -4959,4 +4957,4 @@ Declaration* Parser::GetDeclarationFromFriend(clang::NamedDecl* FriendDecl)
4959
4957
Decl->lineNumberEnd = MinLineNumberEnd;
4960
4958
}
4961
4959
return Decl;
4962
- }
4960
+ }
You can’t perform that action at this time.
0 commit comments