MISRA checks not showing
已回答
I want to run the MISRA checks on my code and when I click "Inspect Code" it shows only Clang-Tidy even though I have checked the MISRA setting in the Inspections menu

And this are the results of the Analysis

No MISRA. How can I enable them?
请先登录再写评论。
Hello!
Is it a CMake project? If yes, what CMAKE_C_STANDARD is set in the project?
Yes, it is. I use CMAKE_C_STANDARD 11
Sorry for the delay in response. MISRA only applies to C89/90 and C99. Every MISRA C rule is for C90 or C99 or both, so C11 or higher won't see any warnings either.
Thank you!