Browse Source

Update iOS64 ABI name to the more accurate AppleARM64.

arm64
Joao Matos 1 year ago committed by João Matos
parent
commit
b5ab95e11d
  1. 2
      src/AST/ASTContext.cs
  2. 2
      src/CppParser/Bindings/CLI/Decl.h
  3. 2
      src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/CppSharp.CppParser.cs
  4. 2
      src/CppParser/Bindings/CSharp/i686-pc-win32-msvc/CppSharp.CppParser.cs
  5. 2
      src/CppParser/Bindings/CSharp/x86_64-apple-darwin12.4.0/CppSharp.CppParser.cs
  6. 2
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu-cxx11abi/CppSharp.CppParser.cs
  7. 2
      src/CppParser/Bindings/CSharp/x86_64-linux-gnu/CppSharp.CppParser.cs
  8. 2
      src/CppParser/Bindings/CSharp/x86_64-pc-win32-msvc/CppSharp.CppParser.cs
  9. 2
      src/CppParser/Decl.h
  10. 4
      src/CppParser/Parser.cpp
  11. 4
      src/Parser/ASTConverter.cs

2
src/AST/ASTContext.cs

@ -12,7 +12,7 @@ namespace CppSharp.AST @@ -12,7 +12,7 @@ namespace CppSharp.AST
ARM,
AArch64,
iOS,
iOS64,
AppleARM64,
WebAssembly
}

2
src/CppParser/Bindings/CLI/Decl.h

@ -256,7 +256,7 @@ namespace CppSharp @@ -256,7 +256,7 @@ namespace CppSharp
Microsoft = 1,
ARM = 2,
iOS = 3,
iOS64 = 4,
AppleARM64 = 4,
WebAssembly = 5
};

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

@ -6403,7 +6403,7 @@ namespace CppSharp @@ -6403,7 +6403,7 @@ namespace CppSharp
ARM = 2,
AArch64 = 3,
iOS = 4,
iOS64 = 5,
AppleARM64 = 5,
WebAssembly = 6
}

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

@ -6403,7 +6403,7 @@ namespace CppSharp @@ -6403,7 +6403,7 @@ namespace CppSharp
ARM = 2,
AArch64 = 3,
iOS = 4,
iOS64 = 5,
AppleARM64 = 5,
WebAssembly = 6
}

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

@ -6403,7 +6403,7 @@ namespace CppSharp @@ -6403,7 +6403,7 @@ namespace CppSharp
ARM = 2,
AArch64 = 3,
iOS = 4,
iOS64 = 5,
AppleARM64 = 5,
WebAssembly = 6
}

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

@ -6403,7 +6403,7 @@ namespace CppSharp @@ -6403,7 +6403,7 @@ namespace CppSharp
ARM = 2,
AArch64 = 3,
iOS = 4,
iOS64 = 5,
AppleARM64 = 5,
WebAssembly = 6
}

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

@ -6403,7 +6403,7 @@ namespace CppSharp @@ -6403,7 +6403,7 @@ namespace CppSharp
ARM = 2,
AArch64 = 3,
iOS = 4,
iOS64 = 5,
AppleARM64 = 5,
WebAssembly = 6
}

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

@ -6403,7 +6403,7 @@ namespace CppSharp @@ -6403,7 +6403,7 @@ namespace CppSharp
ARM = 2,
AArch64 = 3,
iOS = 4,
iOS64 = 5,
AppleARM64 = 5,
WebAssembly = 6
}

2
src/CppParser/Decl.h

@ -473,7 +473,7 @@ namespace CppSharp @@ -473,7 +473,7 @@ namespace CppSharp
ARM,
AArch64,
iOS,
iOS64,
AppleARM64,
WebAssembly
};

4
src/CppParser/Parser.cpp

@ -105,7 +105,7 @@ static CppAbi GetClassLayoutAbi(clang::TargetCXXABI::Kind abi) @@ -105,7 +105,7 @@ static CppAbi GetClassLayoutAbi(clang::TargetCXXABI::Kind abi)
case clang::TargetCXXABI::iOS:
return CppAbi::iOS;
case clang::TargetCXXABI::AppleARM64:
return CppAbi::iOS64;
return CppAbi::AppleARM64;
case clang::TargetCXXABI::WebAssembly:
return CppAbi::WebAssembly;
default:
@ -237,7 +237,7 @@ ConvertToClangTargetCXXABI(CppSharp::CppParser::AST::CppAbi abi) @@ -237,7 +237,7 @@ ConvertToClangTargetCXXABI(CppSharp::CppParser::AST::CppAbi abi)
return TargetCXXABI::GenericARM;
case CppSharp::CppParser::AST::CppAbi::iOS:
return TargetCXXABI::iOS;
case CppSharp::CppParser::AST::CppAbi::iOS64:
case CppSharp::CppParser::AST::CppAbi::AppleARM64:
return TargetCXXABI::AppleARM64;
}

4
src/Parser/ASTConverter.cs

@ -1723,8 +1723,8 @@ namespace CppSharp @@ -1723,8 +1723,8 @@ namespace CppSharp
return AST.CppAbi.AArch64;
case CppAbi.iOS:
return AST.CppAbi.iOS;
case CppAbi.iOS64:
return AST.CppAbi.iOS64;
case CppAbi.AppleARM64:
return AST.CppAbi.AppleARM64;
case CppAbi.WebAssembly:
return AST.CppAbi.WebAssembly;
default:

Loading…
Cancel
Save