SageBuilder::buildTypedefDeclaration
Build a typedef declaration, such as: typedef int myint; typedef struct A {..} s_A;
Synopsis
Declared in <SageIII/sageInterface/sageBuilder.h>
[[visibility]]
SgTypedefDeclaration*
buildTypedefDeclaration(
std::string const& name,
SgType* base_type,
SgScopeStatement* scope = NULL,
bool has_defining_base = false);
Return Value
This class represents the notion of a typedef declaration.
Parameters
Name |
Description |
base_type |
This class represents the base class for all types. |
scope |
This class represents the concept of a scope in C++ (e.g. global scope, fuction scope, etc.). |
Created with MrDocs