<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><span class="">I like the idea of adding an AUTOSAR module to clang-tidy!</span></div><div class=""><span class=""><br class=""></span></div><div class=""><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">I know of at least two projects which have</span><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""> some work done already. The first one was started in the context of Google Summer of Code. You can find the final report at </span><a href="https://docs.google.com/document/d/1r6H5eYOji3mytkdpNJFPuc4PdmE2ZbrFeNAhEqkQIpU/edit" class="">https://docs.google.com/document/d/1r6H5eYOji3mytkdpNJFPuc4PdmE2ZbrFeNAhEqkQIpU/edit</a><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">. Some rules have already been implemented in an LLVM fork at </span><a href="https://github.com/Bareflank/llvm-project" class="">https://github.com/Bareflank/llvm-project</a><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class=""> as mentioned in the report. The second one is a commercial project which has been presented at the 2020 Developers Meeting: </span><a href="https://www.youtube.com/watch?v=-6dL-7xkIV0" class="">https://www.youtube.com/watch?v=-6dL-7xkIV0</a><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);" class="">. At the time of the presentation it was not quite clear whether the source code will be open-sourced at some point.</span></div><span class=""><div class=""><span class=""><br class=""></span></div>> All in all, Autosar is not perfect but it's an important enabler for e.g. the automotive industry to finally leave MISRA C++08 and move to modern C++14. There's plans for new MISRA guidelines covering C++17 but it's unclear when they'll be published, so we need to live with Autosar for a little more.<br class=""></span><span class=""><br class=""></span><div class=""><span class="">Talking about MISRA, is there a reason why there are no ambitions to add another module for the MISRA guidelines? I would be very interested in clang-tidy being able to check for MSRA rules, too. Is it because the guidelines have to be licensed/bought? Is it not allowed to make them public in any way? Does anyone </span>know?</div><div class=""><br class=""></div><div class="">Greetings,</div><div class="">Danny</div></body></html>