Module smart_pointer_utils

Module smart_pointer_utils 

Source
Expand description

Smart pointer detection and analysis utilities.

This module provides centralized logic for detecting and handling different types of smart pointers (Rc, Arc, Box) in a consistent and maintainable way. It replaces scattered string-matching logic with type-safe detection methods.

Enums§

SmartPointerType
Smart pointer type information

Functions§

detect_smart_pointer_type
Detect smart pointer type from type name
generate_synthetic_pointer
Generate unique synthetic pointer for smart pointer tracking
is_smart_pointer
Check if a type is a smart pointer