-
Notifications
You must be signed in to change notification settings - Fork 541
Trying to support clang 15 #1723
Copy link
Copy link
Closed
Description
I see there are some commits about vs2022, so I wonder if there will be support for clang 15?
Recently I found that the latest vs2022 seems to require clang 15, which doesn't work with current CppSharp.
(_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH works but it looks unsafe)
I have built llvm 15.0.7 and so far the result CppSharp works with my own usecase,
but I don't know if my change make sense since I don't understand the internal part of CppSharp.
Here is my fork with the changes, and I have some questions:
- I update premake to official latest version which support vs2022 action. Is there anything required from the InteropAlliance fork?
- Latest llvm changes some fields and functions, is my change correct?
- There seems to be some class that mirrors class in llvm, for example, clang::CoroutineBodyStmt doesn't have getResultDecl anymore, so I guess AST::CoroutineBodyStmt should also be updated. But it also appears a lot in src/CppParser/Bindings/CSharp, and those files are auto generated. How to update them?
- These changes are not compatible with clang 14, how should we deal with this part?(if we are going to merge this or something)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels