Skip to content

OmpSupport::addClauseVariable

Add a variable into a non-reduction clause of an OpenMP statement, create the clause transparently if it does not exist

Synopsis

Declared in <src/midend/programTransformation/ompLowering/omp_lowering.h>

[[visibility("default")]]
void
addClauseVariable(
    SgInitializedName* var,
    SgOmpClauseBodyStatement* clause_stmt,
    VariantT const& vt);

Parameters

Name Description
var This class represents the notion of a declared variable.

Created with MrDocs