Skip to main content

detect_guard

Function detect_guard 

Source
pub fn detect_guard(
    directives: &[SpannedDirective],
    root: &SyntaxNode<CppLanguage>,
) -> Guard
Expand description

Recognise a file’s guard, given its directives in source order.