Update generation configs and regenerate bindings for ClangSharp 22.1.8 - #420
Merged
tannergooding merged 4 commits intoJul 20, 2026
Conversation
Split the monolithic --config block into the new --config mode families, --generate features, and --log diagnostics. Rename --headerFile, --methodClassName, and --with-librarypath to their current spellings, fix the --with-attribue typo, drop the nonexistent --with-getlasterror, and remove the remaps now covered by the on-by-default default-remappings. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
These are obsolete under the current x64 SDK config: WinRT generic-collection specializations (no concrete files are emitted), C++ template functions/methods, x86/x64-absent intrinsics, and MIDL-anon types from absent DIA headers. Drift suspects (qualified names, signatures, IID_* interfaces) are kept for separate review. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
… interfaces ClangSharp projects a WinRT runtimeclass to its default interface everywhere else, but leaves forward-declared-only classes as the bare class name, which has no emitted type. Remap the two affected classes to fix CS0246. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
tannergooding
deleted the
tannergooding-update-clangsharp-generation-configs
branch
July 20, 2026 18:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the
generation/response files to the CLI rules introduced by ClangSharp22.1.8, then regenerates all bindings with that generator + the latest SDK.Three commits:
The regen diffs that aren't pure churn were triaged round-by-round; everything here is either a ClangSharp behavioral change accepted as by-design or one of our own prior manual edits reconciled against the new output.
Known pre-existing gap, not introduced here: the
windows.devices.printersWinRT types (VirtualPrinterSupportedFormat,VirtualPrinterInstallationResult) still fail to generate (CS0246) -- a ClangSharp generation gap tracked separately.Out of scope / deferred: opting structs into generator-emitted equality via
--with-equality-members. That was validated separately and will come as a follow-up.