mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-30 09:25:26 +01:00
This simply requires braces and doesn't allow single-line `if`s. There is some minor readability loss here, but it seems minor and provides extremely simple rules which I'd value. I can also trivially get clang-tidy to both check for this and automatically fix code to conform. Just sending this as a code review as it seems fully in the direction of the style guide approved by the core team and I've heard no real objections. That said, if anyone is concerned, I'm happy to take it through the proposal process.
Project
This directory contains project-related documentation for Carbon. Information about how the project works, goals and community information belong here.