class OMPOrderClause
Declaration
class OMPOrderClause : public OMPClause { /* full declaration omitted */ };
Description
This represents 'order' clause in the '#pragma omp ...' directive. In this example directive '#pragma omp parallel' has simple 'order' clause with kind 'concurrent'.
Declared at: clang/include/clang/AST/OpenMPClause.h:7640
Inherits from: OMPClause
Member Variables
- private clang::SourceLocation LParenLoc
- Location of '('.
- private clang::OpenMPOrderClauseKind Kind = OMPC_ORDER_unknown
- A kind of the 'default' clause.
- private clang::SourceLocation KindKwLoc
- Start location of the kind in source code.
Method Overview
- public OMPOrderClause(clang::OpenMPOrderClauseKind A, clang::SourceLocation ALoc, clang::SourceLocation StartLoc, clang::SourceLocation LParenLoc, clang::SourceLocation EndLoc)
- public OMPOrderClause()
- public clang::OMPClause::child_range children()
- public clang::OMPClause::const_child_range children() const
- public static bool classof(const clang::OMPClause * T)
- public clang::OpenMPOrderClauseKind getKind() const
- public clang::SourceLocation getKindKwLoc() const
- public clang::SourceLocation getLParenLoc() const
- private void setKind(clang::OpenMPOrderClauseKind K)
- private void setKindKwLoc(clang::SourceLocation KLoc)
- public void setLParenLoc(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
¶OMPOrderClause(clang::OpenMPOrderClauseKind A,
clang::SourceLocation ALoc,
clang::SourceLocation StartLoc,
clang::SourceLocation LParenLoc,
clang::SourceLocation EndLoc)
OMPOrderClause(clang::OpenMPOrderClauseKind A,
clang::SourceLocation ALoc,
clang::SourceLocation StartLoc,
clang::SourceLocation LParenLoc,
clang::SourceLocation EndLoc)
Description
Build 'order' clause with argument \p A ('concurrent').
Declared at: clang/include/clang/AST/OpenMPClause.h:7670
Parameters
- clang::OpenMPOrderClauseKind A
- Argument of the clause ('concurrent').
- clang::SourceLocation ALoc
- Starting location of the argument.
- clang::SourceLocation StartLoc
- Starting location of the clause.
- clang::SourceLocation LParenLoc
- Location of '('.
- clang::SourceLocation EndLoc
- Ending location of the clause.
¶OMPOrderClause()
OMPOrderClause()
Description
Build an empty clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:7677
¶clang::OMPClause::child_range children()
clang::OMPClause::child_range children()
Declared at: clang/include/clang/AST/OpenMPClause.h:7692
¶clang::OMPClause::const_child_range children()
const
clang::OMPClause::const_child_range children()
const
Declared at: clang/include/clang/AST/OpenMPClause.h:7696
¶static bool classof(const clang::OMPClause* T)
static bool classof(const clang::OMPClause* T)
Declared at: clang/include/clang/AST/OpenMPClause.h:7707
Parameters
- const clang::OMPClause* T
¶clang::OpenMPOrderClauseKind getKind() const
clang::OpenMPOrderClauseKind getKind() const
Description
Returns kind of the clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:7687
¶clang::SourceLocation getKindKwLoc() const
clang::SourceLocation getKindKwLoc() const
Description
Returns location of clause kind.
Declared at: clang/include/clang/AST/OpenMPClause.h:7690
¶clang::SourceLocation getLParenLoc() const
clang::SourceLocation getLParenLoc() const
Description
Returns the location of '('.
Declared at: clang/include/clang/AST/OpenMPClause.h:7684
¶void setKind(clang::OpenMPOrderClauseKind K)
void setKind(clang::OpenMPOrderClauseKind K)
Description
Set kind of the clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:7655
Parameters
- clang::OpenMPOrderClauseKind K
- Argument of clause.
¶void setKindKwLoc(clang::SourceLocation KLoc)
void setKindKwLoc(clang::SourceLocation KLoc)
Description
Set argument location.
Declared at: clang/include/clang/AST/OpenMPClause.h:7660
Parameters
- clang::SourceLocation KLoc
- Argument location.
¶void setLParenLoc(clang::SourceLocation Loc)
void setLParenLoc(clang::SourceLocation Loc)
Description
Sets the location of '('.
Declared at: clang/include/clang/AST/OpenMPClause.h:7681
Parameters
¶clang::OMPClause::child_range used_children()
clang::OMPClause::child_range used_children()
Declared at: clang/include/clang/AST/OpenMPClause.h:7700
¶clang::OMPClause::const_child_range
used_children() const
clang::OMPClause::const_child_range
used_children() const
Declared at: clang/include/clang/AST/OpenMPClause.h:7703