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