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

Tom Stellard via cfe-dev cfe-dev at lists.llvm.org
Wed Oct 27 10:38:47 PDT 2021


On 10/27/21 8:28 AM, Carlos Galvez via cfe-dev wrote:
> Hi!
> 
> We are following the Autosar C++14 guidelines and were thinking to add a clang-tidy module for it and start implementing checks. There's a couple local forks with some checks here and there but never made it upstream. I believe quite a lot of them are already covered by the existing checks (e.g. cppcoreguidelines) so most of the work would be about creating aliases and adding some extra configuration.
> 
> What do you think, would that be ok? Both about adding the Autosar module itself, but also making aliases from one coding guideline (e.g. cppcoreguidelines) to another coding guideline (autosar). Typically the alias is from a non-coding guideline (e.g. bugprone) to a coding guideline (cppcoreguidelines).
> 
> We can of course have our own local fork but it's nice to be able to contribute upstream so everyone can benefit. Autosar would fit well together with the existing guidelines (CppCoreGuidlines, CERT, HiCPP, etc).
> 

As a clang-tidy user, I would be interested in an Autosar C++14 module.

-Tom

> Best regards,
> Carlos
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
> 



More information about the cfe-dev mailing list