Skip to content

SageInterface::fixFunctionDeclaration

Fix the symbol table and set scope (only if scope in declaration is not already set).

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
void
fixFunctionDeclaration(
    SgFunctionDeclaration* stmt,
    SgScopeStatement* scope);

Parameters

Name

Description

stmt

This class represents the concept of a function declaration statement.

scope

This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.).

Created with MrDocs