Add ixx to recognized C++ extensions. - #794
Merged
Merged
Conversation
Collaborator
|
Thanks, I'll push this out in the next release. |
Claiming an extension for a semantic adapter is not free: gate_coverage derives from the adapter registry and fails until the extension is either gated or named in GATE_EXCLUSIONS. That's what broke every test job here. .ixx has to stay off the gate. tree-sitter-cpp 0.23 has no module grammar at all, so `export module M;` and `import std;` parse as ERROR — and the gate is a hard write block, so gating .ixx would refuse writes to every valid module interface unit. The exclusion says so, with a test that fails when the grammar learns modules and the entry can go. Same reason .ixx stays out of minify and the skeleton trimmer, both of which need a clean parse. The two lists with no parser behind them were simply missing it: the highlighter now paints .ixx as C++, and CODE_EXTS counts an .ixx edit as editing code so the verify nudge sees it. Also the rustfmt wrap on clangd's extension list.
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.
ixxis the MSVC's standard for C++ module interfaces.I use it with clang because I prefer it over clang's default of
cppm, which isn't on the list either.