class OMPClause
Declaration
class OMPClause { /* full declaration omitted */ };
Description
This is a basic class for representing single OpenMP clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:55
Member Variables
- private clang::SourceLocation StartLoc
- Starting location of the clause (the clause keyword).
- private clang::SourceLocation EndLoc
- Ending location of the clause.
- private clang::OpenMPClauseKind Kind
- Kind of the clause.
Method Overview
- protected OMPClause(clang::OpenMPClauseKind K, clang::SourceLocation StartLoc, clang::SourceLocation EndLoc)
- public clang::OMPClause::child_range children()
- public clang::OMPClause::const_child_range children() const
- public static bool classof(const clang::OMPClause *)
- public clang::SourceLocation getBeginLoc() const
- public clang::OpenMPClauseKind getClauseKind() const
- public clang::SourceLocation getEndLoc() const
- public bool isImplicit() const
- public void setLocEnd(clang::SourceLocation Loc)
- public void setLocStart(clang::SourceLocation Loc)
- public clang::OMPClause::child_range used_children()
- public clang::OMPClause::const_child_range used_children() const
Methods
¶OMPClause(clang::OpenMPClauseKind K,
clang::SourceLocation StartLoc,
clang::SourceLocation EndLoc)
OMPClause(clang::OpenMPClauseKind K,
clang::SourceLocation StartLoc,
clang::SourceLocation EndLoc)
Declared at: clang/include/clang/AST/OpenMPClause.h:66
Parameters
- clang::OpenMPClauseKind K
- clang::SourceLocation StartLoc
- clang::SourceLocation EndLoc
¶clang::OMPClause::child_range children()
clang::OMPClause::child_range children()
Declared at: clang/include/clang/AST/OpenMPClause.h:92
¶clang::OMPClause::const_child_range children()
const
clang::OMPClause::const_child_range children()
const
Declared at: clang/include/clang/AST/OpenMPClause.h:93
¶static bool classof(const clang::OMPClause*)
static bool classof(const clang::OMPClause*)
Declared at: clang/include/clang/AST/OpenMPClause.h:107
Parameters
- const clang::OMPClause*
¶clang::SourceLocation getBeginLoc() const
clang::SourceLocation getBeginLoc() const
Description
Returns the starting location of the clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:71
¶clang::OpenMPClauseKind getClauseKind() const
clang::OpenMPClauseKind getClauseKind() const
Description
Returns kind of OpenMP clause (private, shared, reduction, etc.).
Declared at: clang/include/clang/AST/OpenMPClause.h:83
¶clang::SourceLocation getEndLoc() const
clang::SourceLocation getEndLoc() const
Description
Returns the ending location of the clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:74
¶bool isImplicit() const
bool isImplicit() const
Declared at: clang/include/clang/AST/OpenMPClause.h:85
¶void setLocEnd(clang::SourceLocation Loc)
void setLocEnd(clang::SourceLocation Loc)
Description
Sets the ending location of the clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:80
Parameters
¶void setLocStart(clang::SourceLocation Loc)
void setLocStart(clang::SourceLocation Loc)
Description
Sets the starting location of the clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:77
Parameters
¶clang::OMPClause::child_range used_children()
clang::OMPClause::child_range used_children()
Description
Get the iterator range for the expressions used in the clauses. Used expressions include only the children that must be evaluated at the runtime before entering the construct.
Declared at: clang/include/clang/AST/OpenMPClause.h:101
¶clang::OMPClause::const_child_range
used_children() const
clang::OMPClause::const_child_range
used_children() const
Declared at: clang/include/clang/AST/OpenMPClause.h:102