Skip to content

AstInterface::IsLocalRef

Returns whether the given ref reaches only local data within scope. if has_ptr_deref != 0, it is set to true if ref has pointer deref.

Synopsis

Declared in <src/midend/astUtil/astInterface/AstInterface.h>

static
bool
IsLocalRef(
    AstNodePtr const& ref,
    AstNodePtr const& scope,
    bool* has_ptr_deref = 0);

Created with MrDocs