Require a space after a cast

Align with K&R2.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2022-12-22 23:18:30 +01:00
parent 3e0418fe50
commit e19d7e5141

View file

@ -187,8 +187,8 @@ sp_before_comma = remove
# No space before the ':' in a case statement
sp_before_case_colon = remove
# No space after a cast - '(char) x' -> '(char)x'
sp_after_cast = remove
# Must have space after a cast - '(char)x' -> '(char) x'
sp_after_cast = add
# No space between 'sizeof' and '('
sp_sizeof_paren = remove