Skip to content

SageInterface::fixClassDeclaration

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

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

[[visibility]]
void
fixClassDeclaration(
    SgClassDeclaration* classDecl,
    SgScopeStatement* scope);

Parameters

Name

Description

classDecl

This class represents the concept of a class declaration statement. It includes the

scope

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

Created with MrDocs