Skip to content

[3.0] Update SDL#2570

Draft
Exanite wants to merge 28 commits intodevelop/3.0from
feature/update-sdl
Draft

[3.0] Update SDL#2570
Exanite wants to merge 28 commits intodevelop/3.0from
feature/update-sdl

Conversation

@Exanite
Copy link
Copy Markdown
Member

@Exanite Exanite commented Apr 17, 2026

Summary of the PR

(WIP)

This PR updates ClangSharp and SDL. This was originally part of #2567, but proved to be a more involved change than anticipated due to SDL build problems.

Related issues, Discord discussions, or proposals

Related PR: #2567

Further Comments

Tasks

Native builds

/build-native SDL

Exanite added 23 commits April 14, 2026 19:08
These were written before I installed the CSharpier plugin so they were not formatted.
GetTypeInfo should be unnecessary since it gets the type of an expression.

For non-type expressions (eg: `5` is an int), this isn't useful for us.
This is arguably an indirect reference to int, but the current Silk generator only cares about modifying direct references.

For type expressions (eg: `int` refers to int), GetSymbolInfo will also return the same symbol.
*Roslyn already caches this internally. This is mainly for avoiding the async method call.
Difference is probably not measurable, but theoretically this is faster.
Conflict checking was O(n), now it is O(1).
This is to prevent false negatives from mismatched path formats.
(cherry picked from commit 6b12c69)
…sync

This change caused incorrect behavior since the document ids can come from projects other than the source project (namely the test project).
This broken when semantic models were requested for test project documents from the source project compilation.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 17, 2026

File Coverage
All files 16%

Minimum allowed coverage is 0%

Generated by 🐒 cobertura-action against 2dc1a7e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant