mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 13:41:04 +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.
Docs
This directory contains current, accepted documentation underpinning Carbon. These documents cover all aspects of Carbon ranging from the project down to detailed designs for specific language features.
If you're trying to learn more about Carbon, we recommend starting at /README.md.