class OMPFilterClause
Declaration
class OMPFilterClause : public OMPClause, public OMPClauseWithPreInit { /* full declaration omitted */ };
Description
This represents 'filter' clause in the '#pragma omp ...' directive. In this example directive '#pragma omp masked' has 'filter' clause with thread id.
Declared at: clang/include/clang/AST/OpenMPClause.h:8578
Inherits from: OMPClause, OMPClauseWithPreInit
Member Variables
- private clang::SourceLocation LParenLoc
- Location of '('.
- private clang::Stmt* ThreadID = nullptr
- Express of the 'filter' clause.
Method Overview
- public OMPFilterClause(clang::Expr * ThreadID, clang::Stmt * HelperE, clang::OpenMPDirectiveKind CaptureRegion, clang::SourceLocation StartLoc, clang::SourceLocation LParenLoc, clang::SourceLocation EndLoc)
- public OMPFilterClause()
- public clang::OMPClause::child_range children()
- public clang::OMPClause::const_child_range children() const
- public static bool classof(const clang::OMPClause * T)
- public clang::SourceLocation getLParenLoc() const
- public clang::Expr * getThreadID()
- public clang::Expr * getThreadID() const
- private void setLParenLoc(clang::SourceLocation Loc)
- private void setThreadID(clang::Expr * TID)
- public clang::OMPClause::child_range used_children()
- public clang::OMPClause::const_child_range used_children() const
Inherited from OMPClauseWithPreInit:
- public get
- public get
- public getCaptureRegion
- public getPreInitStmt
- public getPreInitStmt
- protected setPreInitStmt
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
¶OMPFilterClause(
clang::Expr* ThreadID,
clang::Stmt* HelperE,
clang::OpenMPDirectiveKind CaptureRegion,
clang::SourceLocation StartLoc,
clang::SourceLocation LParenLoc,
clang::SourceLocation EndLoc)
OMPFilterClause(
clang::Expr* ThreadID,
clang::Stmt* HelperE,
clang::OpenMPDirectiveKind CaptureRegion,
clang::SourceLocation StartLoc,
clang::SourceLocation LParenLoc,
clang::SourceLocation EndLoc)
Description
Build 'filter' clause with thread-id \a ThreadID.
Declared at: clang/include/clang/AST/OpenMPClause.h:8603
Parameters
- clang::Expr* ThreadID
- Thread identifier.
- clang::Stmt* HelperE
- Helper expression associated with this clause.
- clang::OpenMPDirectiveKind CaptureRegion
- Innermost OpenMP region where expressions in this clause must be captured.
- clang::SourceLocation StartLoc
- Starting location of the clause.
- clang::SourceLocation LParenLoc
- Location of '('.
- clang::SourceLocation EndLoc
- Ending location of the clause.
¶OMPFilterClause()
OMPFilterClause()
Description
Build an empty clause.
Declared at: clang/include/clang/AST/OpenMPClause.h:8612
¶clang::OMPClause::child_range children()
clang::OMPClause::child_range children()
Declared at: clang/include/clang/AST/OpenMPClause.h:8624
¶clang::OMPClause::const_child_range children()
const
clang::OMPClause::const_child_range children()
const
Declared at: clang/include/clang/AST/OpenMPClause.h:8626
¶static bool classof(const clang::OMPClause* T)
static bool classof(const clang::OMPClause* T)
Declared at: clang/include/clang/AST/OpenMPClause.h:8637
Parameters
- const clang::OMPClause* T
¶clang::SourceLocation getLParenLoc() const
clang::SourceLocation getLParenLoc() const
Description
Returns the location of '('.
Declared at: clang/include/clang/AST/OpenMPClause.h:8616
¶clang::Expr* getThreadID()
clang::Expr* getThreadID()
Description
Return thread identifier.
Declared at: clang/include/clang/AST/OpenMPClause.h:8619
¶clang::Expr* getThreadID() const
clang::Expr* getThreadID() const
Description
Return thread identifier.
Declared at: clang/include/clang/AST/OpenMPClause.h:8622
¶void setLParenLoc(clang::SourceLocation Loc)
void setLParenLoc(clang::SourceLocation Loc)
Description
Sets the location of '('.
Declared at: clang/include/clang/AST/OpenMPClause.h:8591
Parameters
¶void setThreadID(clang::Expr* TID)
void setThreadID(clang::Expr* TID)
Description
Sets the thread identifier.
Declared at: clang/include/clang/AST/OpenMPClause.h:8588
Parameters
- clang::Expr* TID
¶clang::OMPClause::child_range used_children()
clang::OMPClause::child_range used_children()
Declared at: clang/include/clang/AST/OpenMPClause.h:8630
¶clang::OMPClause::const_child_range
used_children() const
clang::OMPClause::const_child_range
used_children() const
Declared at: clang/include/clang/AST/OpenMPClause.h:8633