Skip to content

Outliner::outline

outline overloads

Synopses

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

If 's' is an outline pragma, this function "executes" it.

Outlines the given statement. The main programming interface.

[[visibility]]
Result
outline(SgStatement* s);

Outline to a new function with the specified name, calling preprocessing internally

Result
outline(
    SgStatement* s,
    std::string const& func_name);

Postconditions

  • The outlined statement and the pragma are removed from the AST.

Created with MrDocs