Re: [XEN PATCH] docs/misra: Document ECLAIR extension to Rule 20.7

2025-01-16 Thread Stefano Stabellini
On Thu, 16 Jan 2025, Nicola Vetrini wrote: > On 2025-01-16 10:51, Jan Beulich wrote: > > On 16.01.2025 10:31, Nicola Vetrini wrote: > > > MISRA C Rule 20.7 states: > > > "Expressions resulting from the expansion of macro parameters shall > > > be enclosed in parentheses". > > > > > > Document the

Re: [XEN PATCH] docs/misra: Document ECLAIR extension to Rule 20.7

2025-01-16 Thread Nicola Vetrini
On 2025-01-16 10:51, Jan Beulich wrote: On 16.01.2025 10:31, Nicola Vetrini wrote: MISRA C Rule 20.7 states: "Expressions resulting from the expansion of macro parameters shall be enclosed in parentheses". Document the behaviour of ECLAIR with respect to the CPP extension that allows variable m

Re: [XEN PATCH] docs/misra: Document ECLAIR extension to Rule 20.7

2025-01-16 Thread Jan Beulich
On 16.01.2025 10:31, Nicola Vetrini wrote: > MISRA C Rule 20.7 states: > "Expressions resulting from the expansion of macro parameters shall > be enclosed in parentheses". > > Document the behaviour of ECLAIR with respect to the CPP extension > that allows variable macro arguments to be named. >