clang 23.0.0git
OMPFilterClause Class Referencefinal

This represents 'filter' clause in the '#pragma omp ...' directive. More...

#include "clang/AST/OpenMPClause.h"

Inheritance diagram for OMPFilterClause:
[legend]

Public Member Functions

 OMPFilterClause (Expr *ThreadID, Stmt *HelperE, OpenMPDirectiveKind CaptureRegion, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc)
 Build 'filter' clause with thread-id ThreadID.
 OMPFilterClause ()
 Build an empty clause.
Expr * getThreadID () const
 Return thread identifier.
Expr * getThreadID ()
 Return thread identifier.

Friends

class OMPClauseReader

Detailed Description

This represents 'filter' clause in the '#pragma omp ...' directive.

#pragma omp masked filter(tid)

In this example directive '#pragma omp masked' has 'filter' clause with thread id.

Definition at line 9517 of file OpenMPClause.h.

Constructor & Destructor Documentation

◆ OMPFilterClause() [1/2]

OMPFilterClause::OMPFilterClause ( Expr * ThreadID,
Stmt * HelperE,
OpenMPDirectiveKind CaptureRegion,
SourceLocation StartLoc,
SourceLocation LParenLoc,
SourceLocation EndLoc )
inline

Build 'filter' clause with thread-id ThreadID.

Parameters
ThreadIDThread identifier.
HelperEHelper expression associated with this clause.
CaptureRegionInnermost OpenMP region where expressions in this clause must be captured.
StartLocStarting location of the clause.
LParenLocLocation of '('.
EndLocEnding location of the clause.

Definition at line 9535 of file OpenMPClause.h.

◆ OMPFilterClause() [2/2]

OMPFilterClause::OMPFilterClause ( )
inline

Build an empty clause.

Definition at line 9544 of file OpenMPClause.h.

Member Function Documentation

◆ getThreadID() [1/2]

Expr * OMPFilterClause::getThreadID ( )
inline

Return thread identifier.

Definition at line 9550 of file OpenMPClause.h.

◆ getThreadID() [2/2]

Expr * OMPFilterClause::getThreadID ( ) const
inline

Return thread identifier.

Definition at line 9547 of file OpenMPClause.h.

◆ OMPClauseReader

friend class OMPClauseReader
friend

Definition at line 9520 of file OpenMPClause.h.

References OMPClauseReader.

Referenced by OMPClauseReader.


The documentation for this class was generated from the following file: