[cfe-dev] [clang-tidy][RFC] Add Autosar C++14 clang-tidy module?

Aaron Ballman via cfe-dev cfe-dev at lists.llvm.org
Mon Nov 8 10:33:03 PST 2021


On Mon, Nov 8, 2021 at 1:15 PM Danny Mösch <accountdm at icloud.com> wrote:
>
> On 8. Nov 2021, at 14:56, Aaron Ballman <aaron at aaronballman.com> wrote:
> > Licensing questions aside, one practical reason is because the MISRA
> > guidelines are not freely available, so it's basically impossible to
> > perform code reviews for such checkers unless you already own a copy
> > of MISRA. The rest of the community then has to take it on faith that
> > the check actually does what the MISRA rule says it should do because
> > they have no way to verify.
>
> What I conclude from that is that even if some people would work on a module for MISRA rules, the possibility is quite low that it will be accepted by the LLVM community for understandable reasons. Am I right about that?

That's my take on it. As a code reviewer, I wouldn't be able to
validate the check against the rules it means to implement (at least,
not without some licensing-related questions that I wouldn't really
want to get involved with in the first place).

~Aaron


More information about the cfe-dev mailing list