Skip to content

SageBuilder::buildClassDeclaration

DQ (11/7/2009): Added function to build C++ class (builds both the non‐defining and defining declarations; in that order).

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
SgClassDeclaration*
buildClassDeclaration(
    SgName name,
    SgScopeStatement* scope);

Return Value

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

Parameters

Name

Description

name

This class represents strings within the IR nodes.

scope

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

Created with MrDocs