class OMPUseClause
Declaration
class OMPUseClause : public OMPClause { /* full declaration omitted */ };
Description
This represents the 'use' clause in '#pragma omp ...' directives.
Declared at: clang/include/clang/AST/OpenMPClause.h:7840
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 OMPUseClause(clang::Expr * InteropVar, clang::SourceLocation StartLoc, clang::SourceLocation LParenLoc, clang::SourceLocation VarLoc, clang::SourceLocation EndLoc)
- public OMPUseClause()
- 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
¶OMPUseClause(clang::Expr* InteropVar,
clang::SourceLocation StartLoc,
clang::SourceLocation LParenLoc,
clang::SourceLocation VarLoc,
clang::SourceLocation EndLoc)
OMPUseClause(clang::Expr* InteropVar,
clang::SourceLocation StartLoc,
clang::SourceLocation LParenLoc,
clang::SourceLocation VarLoc,
clang::SourceLocation EndLoc)
Description
Build 'use' clause with and interop variable expression \a InteropVar.
Declared at: clang/include/clang/AST/OpenMPClause.h:7869
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.
¶OMPUseClause()
OMPUseClause()
Description
Build an empty clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:7876
¶clang::OMPClause::child_range children()
clang::OMPClause::child_range children()
Declared at: clang/include/clang/AST/OpenMPClause.h:7888
¶clang::OMPClause::const_child_range children()
const
clang::OMPClause::const_child_range children()
const
Declared at: clang/include/clang/AST/OpenMPClause.h:7890
¶static bool classof(const clang::OMPClause* T)
static bool classof(const clang::OMPClause* T)
Declared at: clang/include/clang/AST/OpenMPClause.h:7901
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:7886
¶clang::SourceLocation getLParenLoc() const
clang::SourceLocation getLParenLoc() const
Description
Returns the location of '('.
Declared at: clang/include/clang/AST/OpenMPClause.h:7880
¶clang::SourceLocation getVarLoc() const
clang::SourceLocation getVarLoc() const
Description
Returns the location of the interop variable.
Declared at: clang/include/clang/AST/OpenMPClause.h:7883
¶void setInteropVar(clang::Expr* E)
void setInteropVar(clang::Expr* E)
Description
Set the interop variable.
Declared at: clang/include/clang/AST/OpenMPClause.h:7853
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:7856
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:7859
Parameters
¶clang::OMPClause::child_range used_children()
clang::OMPClause::child_range used_children()
Declared at: clang/include/clang/AST/OpenMPClause.h:7894
¶clang::OMPClause::const_child_range
used_children() const
clang::OMPClause::const_child_range
used_children() const
Declared at: clang/include/clang/AST/OpenMPClause.h:7897