Skip to content

removeUnusedVariables

Remove unused variables in a scope

Synopsis

Declared in <src/midend/programTransformation/astInlining/inlinerSupport.h>

[[visibility]]
void
removeUnusedVariables(
    SgNode* top,
    std::set<SgFunctionDeclaration*> const& safeFunctions = std::set<SgFunctionDeclaration *>());

Parameters

Name

Description

top

This class represents the base class for all IR nodes within Sage III.

Created with MrDocs