Skip to main content

resolve_block_using_call_target

Function resolve_block_using_call_target 

Source
pub fn resolve_block_using_call_target(
    call: Node<'_>,
    function: Node<'_>,
    analyzer: &CppGraphSource<'_>,
    visibility: &VisibilityIndex<'_>,
    ordinary_type_imports: &OrdinaryTypeImportCell,
    file: &ProjectFile,
    source: &str,
) -> Option<BlockUsingCallTargetResolution>
Expand description

Resolve a direct using-declaration in the nearest concrete block before class-member lookup. A block declaration such as using std::swap; adds that name to the block scope and hides a same-named member. If the imported target is not indexed, retain its structured path as boundary evidence.