class OMPDestroyClause
Declaration
class OMPDestroyClause : public OMPClause { /* full declaration omitted */ };
Description
This represents 'destroy' clause in the '#pragma omp depobj' directive or the '#pragma omp interop' directive.. In these examples directive '#pragma omp depobj' and '#pragma omp interop' have a 'destroy' clause. The 'interop' directive includes an object.
Declared at: clang/include/clang/AST/OpenMPClause.h:7915
Inherits from: OMPClause
Member Variables
- private clang::SourceLocation LParenLoc
- Location of '('.
- private clang::SourceLocation VarLoc
- Location of interop variable.
- private clang::Stmt* InteropVar = nullptr
- The interop variable.
Method Overview
- public OMPDestroyClause(clang::Expr * InteropVar, clang::SourceLocation StartLoc, clang::SourceLocation LParenLoc, clang::SourceLocation VarLoc, clang::SourceLocation EndLoc)
- public OMPDestroyClause(clang::SourceLocation StartLoc, clang::SourceLocation EndLoc)
- public OMPDestroyClause()
- public clang::OMPClause::child_range children()
- public clang::OMPClause::const_child_range children() const
- public static bool classof(const clang::OMPClause * T)
- public clang::Expr * getInteropVar() const
- public clang::SourceLocation getLParenLoc() const
- public clang::SourceLocation getVarLoc() const
- private void setInteropVar(clang::Expr * E)
- private void setLParenLoc(clang::SourceLocation Loc)
- private void setVarLoc(clang::SourceLocation Loc)
- public clang::OMPClause::child_range used_children()
- public clang::OMPClause::const_child_range used_children() const
Inherited from OMPClause:
- public children
- public children
- public classof
- public getBeginLoc
- public getClauseKind
- public getEndLoc
- public isImplicit
- public setLocEnd
- public setLocStart
- public used_children
- public used_children
Methods
¶OMPDestroyClause(clang::Expr* InteropVar,
clang::SourceLocation StartLoc,
clang::SourceLocation LParenLoc,
clang::SourceLocation VarLoc,
clang::SourceLocation EndLoc)
OMPDestroyClause(clang::Expr* InteropVar,
clang::SourceLocation StartLoc,
clang::SourceLocation LParenLoc,
clang::SourceLocation VarLoc,
clang::SourceLocation EndLoc)
Description
Build 'destroy' clause with an interop variable expression \a InteropVar.
Declared at: clang/include/clang/AST/OpenMPClause.h:7944
Parameters
- clang::Expr* InteropVar
- The interop variable.
- clang::SourceLocation StartLoc
- Starting location of the clause.
- clang::SourceLocation LParenLoc
- Location of '('.
- clang::SourceLocation VarLoc
- Location of the interop variable.
- clang::SourceLocation EndLoc
- Ending location of the clause.
¶OMPDestroyClause(clang::SourceLocation StartLoc,
clang::SourceLocation EndLoc)
OMPDestroyClause(clang::SourceLocation StartLoc,
clang::SourceLocation EndLoc)
Description
Build 'destroy' clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:7954
Parameters
- clang::SourceLocation StartLoc
- Starting location of the clause.
- clang::SourceLocation EndLoc
- Ending location of the clause.
¶OMPDestroyClause()
OMPDestroyClause()
Description
Build an empty clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:7958
¶clang::OMPClause::child_range children()
clang::OMPClause::child_range children()
Declared at: clang/include/clang/AST/OpenMPClause.h:7971
¶clang::OMPClause::const_child_range children()
const
clang::OMPClause::const_child_range children()
const
Declared at: clang/include/clang/AST/OpenMPClause.h:7977
¶static bool classof(const clang::OMPClause* T)
static bool classof(const clang::OMPClause* T)
Declared at: clang/include/clang/AST/OpenMPClause.h:7990
Parameters
- const clang::OMPClause* T
¶clang::Expr* getInteropVar() const
clang::Expr* getInteropVar() const
Description
Returns the interop variable.
Declared at: clang/include/clang/AST/OpenMPClause.h:7969
¶clang::SourceLocation getLParenLoc() const
clang::SourceLocation getLParenLoc() const
Description
Returns the location of '('.
Declared at: clang/include/clang/AST/OpenMPClause.h:7963
¶clang::SourceLocation getVarLoc() const
clang::SourceLocation getVarLoc() const
Description
Returns the location of the interop variable.
Declared at: clang/include/clang/AST/OpenMPClause.h:7966
¶void setInteropVar(clang::Expr* E)
void setInteropVar(clang::Expr* E)
Description
Set the interop variable.
Declared at: clang/include/clang/AST/OpenMPClause.h:7928
Parameters
- clang::Expr* E
¶void setLParenLoc(clang::SourceLocation Loc)
void setLParenLoc(clang::SourceLocation Loc)
Description
Sets the location of '('.
Declared at: clang/include/clang/AST/OpenMPClause.h:7931
Parameters
¶void setVarLoc(clang::SourceLocation Loc)
void setVarLoc(clang::SourceLocation Loc)
Description
Sets the location of the interop variable.
Declared at: clang/include/clang/AST/OpenMPClause.h:7934
Parameters
¶clang::OMPClause::child_range used_children()
clang::OMPClause::child_range used_children()
Declared at: clang/include/clang/AST/OpenMPClause.h:7983
¶clang::OMPClause::const_child_range
used_children() const
clang::OMPClause::const_child_range
used_children() const
Declared at: clang/include/clang/AST/OpenMPClause.h:7986