Skip to content

SageInterface::fixNamespaceDeclaration

Fix symbols, parent and scope pointers. Used internally within appendStatment(), insertStatement() etc when a namespace declaration was built without knowing its target scope.

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
void
fixNamespaceDeclaration(
    SgNamespaceDeclarationStatement* structDecl,
    SgScopeStatement* scope);

Parameters

Name

Description

structDecl

This class represents the concept of a C++ namespace declaration.

scope

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

Created with MrDocs