parse_safety_annotations

Function parse_safety_annotations 

Source
pub fn parse_safety_annotations(path: &Path) -> Result<SafetyContext, String>
Expand description

Parse safety annotations from a C++ file using the unified rule: @safe/@unsafe attaches to the next statement/block/function/namespace