mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-16 17:48:11 +00:00
`source_gen_test` checked the line count of the generated C++ but never compiled it. Compile it with `ClangRunner`, the same way the C++ compile benchmarks do, which resolves the TODO. Also require both languages to compile with no diagnostic output at all, rather than only without errors. A warning in generated code would add diagnostic emission to what the compile benchmarks measure. Assisted-by: Claude Code