|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] misra: increase identifiers length to 64
On 2024-11-16 01:23, Stefano Stabellini wrote: Currently the identifiers characters limit is arbitrarily set to 40. It causes a few violations as we have some identifiers longer than 40. Increase the limit to another rather arbitrary limit of 64. Thanks to this change, we remove a few violations, getting us one step closer to marking Rules 5.2 and 5.4 as clean. Also update the ECLAIR config that was actually set to 63 as character limit. Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxx> diff --git a/automation/eclair_analysis/ECLAIR/toolchain.ecl b/automation/eclair_analysis/ECLAIR/toolchain.ecl index 86e9a79b52..8fb1778bce 100644 --- a/automation/eclair_analysis/ECLAIR/toolchain.ecl +++ b/automation/eclair_analysis/ECLAIR/toolchain.ecl @@ -155,8 +155,8 @@ -doc_end-doc_begin="See Section \"4.3 Identifiers\" of "GCC_MANUAL"." While for external identifiers 64 can be considered as random as 63, for internal identifiers and macro names 63, which is what the C99 standard guarantees, is better than 64 (which is one more than the standard guarantees). Kind regards, Roberto
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |