Skip to content

ASTtools::attachComment

Attaches a string as a new C++‐style comment to the given statement.

Synopsis

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

void
attachComment(
    char const* comment,
    SgStatement* s);

Parameters

Name

Description

s

This class represents the notion of a statement.

Created with MrDocs