Skip to content

Outliner::generateNewSourceFile

Generate a new source file under the same SgProject as target, the file's base name is file_name_str. Suffix is automatically generated according to the file suffix of s

Synopsis

Declared in <src/midend/programTransformation/astOutlining/Outliner.hh>

[[visibility]]
SgSourceFile*
generateNewSourceFile(
    SgBasicBlock* target,
    std::string const& file_name);

Parameters

Name

Description

target

This class represents the concept of a block (not a basic block from control flow analysis).

Created with MrDocs