clang-tidy支持MISRA C/C++规范,开发者可以通过clang-tidy检查工具来确保其代码符合MISRA C/C++规范,从而提高软件的可靠性。 3. 自定义标准 3.1 创建自定义检查器 clang-tidy允许开发者创建自定义检查器,通过定义自己的检查规则来适应特定的代码风格和标准。通过自定义检查器,开发者可以将特定项目组织的代码规范转化...
clang-tidy-misra is a collection of MISRA compliance checkers for clang-tidy. Progress This project is in an early stage and has not yet been tested extensively! If and how each rule can be checked: MISRA C++:2008 MISRA C:2012 Explanation for the "Supported by" column: TBD: "To Be Det...
MISRA C:2012 and MISRA C++:2008 compliance checkers for clang-tidy - clang-tidy-misra/clang-tidy.patch at master · rettichschnidi/clang-tidy-misra
Earlier in September, we began the 2020.3 Early Access Program for CLion which introduces the following enhancements: CTest support An action to set execution point in the debugger Initial portion of MISRA C and C++ checks Clang completion snippets More Makefile projects support Today th… Anastasia...
(modified) clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt (+1) (added) clang-tools-extra/clang-tidy/bugprone/UnintendedCharOstreamOutputCheck.cpp (+70) (added) clang-tools-extra/clang-tidy/bugprone/UnintendedCharOstreamOutputCheck.h (+34) ...