Skip to content

SageInterface::setBaseTypeDefiningDeclaration

a better version for SgVariableDeclaration::set_baseTypeDefininingDeclaration(), handling all side effects automatically Used to have a struct declaration embedded into a variable declaration

Synopsis

Declared in <SageIII/sageInterface/sageInterface.h>

void
setBaseTypeDefiningDeclaration(
    SgVariableDeclaration* var_decl,
    SgDeclarationStatement* base_decl);

Parameters

Name

Description

var_decl

This class represents the concept of a C or C++ variable declaration.

base_decl

This class represents the concept of a declaration statement.

Created with MrDocs