Skip to content

Commit b5ab95e

Browse files
committed
Update iOS64 ABI name to the more accurate AppleARM64.
1 parent d1307a5 commit b5ab95e

File tree

11 files changed

+13
-13
lines changed

11 files changed

+13
-13
lines changed

src/AST/ASTContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public enum CppAbi
1212
ARM,
1313
AArch64,
1414
iOS,
15-
iOS64,
15+
AppleARM64,
1616
WebAssembly
1717
}
1818

src/CppParser/Bindings/CLI/Decl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ namespace CppSharp
256256
Microsoft = 1,
257257
ARM = 2,
258258
iOS = 3,
259-
iOS64 = 4,
259+
AppleARM64 = 4,
260260
WebAssembly = 5
261261
};
262262

src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppSharp.CppParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6403,7 +6403,7 @@ public enum CppAbi
64036403
ARM = 2,
64046404
AArch64 = 3,
64056405
iOS = 4,
6406-
iOS64 = 5,
6406+
AppleARM64 = 5,
64076407
WebAssembly = 6
64086408
}
64096409

src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppSharp.CppParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6403,7 +6403,7 @@ public enum CppAbi
64036403
ARM = 2,
64046404
AArch64 = 3,
64056405
iOS = 4,
6406-
iOS64 = 5,
6406+
AppleARM64 = 5,
64076407
WebAssembly = 6
64086408
}
64096409

src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppSharp.CppParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6403,7 +6403,7 @@ public enum CppAbi
64036403
ARM = 2,
64046404
AArch64 = 3,
64056405
iOS = 4,
6406-
iOS64 = 5,
6406+
AppleARM64 = 5,
64076407
WebAssembly = 6
64086408
}
64096409

src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6403,7 +6403,7 @@ public enum CppAbi
64036403
ARM = 2,
64046404
AArch64 = 3,
64056405
iOS = 4,
6406-
iOS64 = 5,
6406+
AppleARM64 = 5,
64076407
WebAssembly = 6
64086408
}
64096409

src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppSharp.CppParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6403,7 +6403,7 @@ public enum CppAbi
64036403
ARM = 2,
64046404
AArch64 = 3,
64056405
iOS = 4,
6406-
iOS64 = 5,
6406+
AppleARM64 = 5,
64076407
WebAssembly = 6
64086408
}
64096409

src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppSharp.CppParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6403,7 +6403,7 @@ public enum CppAbi
64036403
ARM = 2,
64046404
AArch64 = 3,
64056405
iOS = 4,
6406-
iOS64 = 5,
6406+
AppleARM64 = 5,
64076407
WebAssembly = 6
64086408
}
64096409

src/CppParser/Decl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ namespace CppSharp
473473
ARM,
474474
AArch64,
475475
iOS,
476-
iOS64,
476+
AppleARM64,
477477
WebAssembly
478478
};
479479

src/CppParser/Parser.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ static CppAbi GetClassLayoutAbi(clang::TargetCXXABI::Kind abi)
105105
case clang::TargetCXXABI::iOS:
106106
return CppAbi::iOS;
107107
case clang::TargetCXXABI::AppleARM64:
108-
return CppAbi::iOS64;
108+
return CppAbi::AppleARM64;
109109
case clang::TargetCXXABI::WebAssembly:
110110
return CppAbi::WebAssembly;
111111
default:
@@ -237,7 +237,7 @@ ConvertToClangTargetCXXABI(CppSharp::CppParser::AST::CppAbi abi)
237237
return TargetCXXABI::GenericARM;
238238
case CppSharp::CppParser::AST::CppAbi::iOS:
239239
return TargetCXXABI::iOS;
240-
case CppSharp::CppParser::AST::CppAbi::iOS64:
240+
case CppSharp::CppParser::AST::CppAbi::AppleARM64:
241241
return TargetCXXABI::AppleARM64;
242242
}
243243

0 commit comments

Comments
 (0)