Skip to content

SageBuilder::buildSourceFile

Build a SgFile node and attach it to SgProject The file will be build with an empty global scope to support declarations being added.

Synopsis

Declared in <SageIII/sageInterface/sageBuilder.h>

[[visibility]]
SgSourceFile*
buildSourceFile(
    std::string const& outputFileName,
    SgProject* project = NULL,
    bool clear_globalScopeAcrossFiles = false);

Parameters

Name

Description

project

This class represents a source project, with a list of SgFile objects and global

Created with MrDocs