Re: [PATCH 6/8] clang-format: formalize some of the spacing rules
- From
Justin Tobler <jltobler@gmail.com>
- Date
- Jul 8, 2024, 16:56 UTC
- Message-ID
- <saa7uz2ovecdwg4ruhnusgebmexocq3qinlp5x5oz5sb2a3vqp@v4iupsp2ovwh>
- In-Reply-To
- <20240708092317.267915-7-karthik.188@gmail.com>
On 24/07/08 11:23AM, Karthik Nayak wrote:
> There are some spacing rules that we follow in the project and it makes > sen to formalize them: > * Ensure there is no space inserted after the logical not '!' operator. > * Ensure there is no space before the case statement's color.
s/color/colon
> * Ensure there is no space before the first bracket '[' of an array. > * Ensure there is no space in empty blocks.