This code:
bool myFunction(Type type) { return myLambda(type) { return type.empty(); }); }
Triggers this rule: MISRA Rule 15.5 : Multiple points of exit detected. Function should have a single point of exit at the end of the function
Sorry for late reply. But the misra addon is currently only for Misra C 2012. And C++ code is not supported. We might add a C++ addon in the future.
Log in to post a comment.
This code:
Triggers this rule:
MISRA Rule 15.5 : Multiple points of exit detected. Function should have a single point of exit at the end of the function
Sorry for late reply. But the misra addon is currently only for Misra C 2012. And C++ code is not supported. We might add a C++ addon in the future.