Files
d51924f91d Split experimental clang forks into their own dropdown group (#9053)
Replaces #9052, whose diff GitHub refused to render ("No changes to
show") despite serving it correctly over the API and `.diff`. Same
change, fresh commit.

The **Clang x86-64** section currently mixes upstream
`llvm/llvm-project` builds in with 40 third-party forks, so there is no
way to tell at a glance which entries are actually upstream clang.
Several people in the clang community have raised this as the number of
experimental forks has grown.

- **Clang x86-64** keeps the upstream builds: `clang_trunk`,
`clang_assertions_trunk`, `clang_clangir`.
- **Clang x86-64 (experimental forks)** gets the other 40.

`clang_clangir` is deliberately on the upstream side: since
compiler-explorer/clang-builder#111 it builds from `llvm/llvm-project`
main with `-DCLANG_ENABLE_CIR=ON`, because ClangIR has been upstreamed.
It is a build flag, not a fork.

### Why it is only four lines

`clangx86experimental` is nested inside `clangx86trunk` rather than
being a new top-level group, so it inherits every other
`group.clangx86trunk.*` property (`baseName`, `ldPath`, `isNightly`,
`compilerType`, the `supports*` flags and the rest).
`compiler-finder.ts` passes the enclosing group's resolver as the
fallback when expanding a `&group` reference, and returns the innermost
group id for `group`, which is what the picker keys its sections off.

`clangx86assert` already does exactly this inside `group.clang` to
render its own "Clang x86-64 (assertions)" section, so the mechanism is
already in production.

### The diff, in case rendering misbehaves again

```
-group.clangx86trunk.compilers=clang_trunk:clang_assertions_trunk:clang_concepts:<...40 forks...>
+group.clangx86trunk.compilers=clang_trunk:clang_assertions_trunk:clang_clangir:&clangx86experimental

 group.clangx86trunk.debugPatched=true
+
+group.clangx86experimental.compilers=clang_concepts:<...the 40 forks, unchanged order...>
+group.clangx86experimental.groupName=Clang x86-64 (experimental forks)
```

### Compatibility

Only the dropdown label changes. Compiler ids, `name` and `baseName` are
untouched, so existing links and bookmarks keep working and no compiler
is renamed.

`npm run test:props` passes.

/cc @cor3ntin

Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-22 13:18:50 -05:00
..
2025-08-28 22:21:34 +02:00