clang 23.0.0git
OMPDetachClause Class Referencefinal

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

#include "clang/AST/OpenMPClause.h"

Inheritance diagram for OMPDetachClause:
[legend]

Public Member Functions

 OMPDetachClause (Expr *Evt, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc)
 Build 'detach' clause with event-handler Evt.
 OMPDetachClause ()
 Build an empty clause.
Expr * getEventHandler () const
 Returns event-handler expression.

Friends

class OMPClauseReader

Detailed Description

This represents 'detach' clause in the '#pragma omp task' directive.

#pragma omp task detach(evt)

In this example directive '#pragma omp detach' has simple 'detach' clause with the variable 'evt'.

Definition at line 9118 of file OpenMPClause.h.

Constructor & Destructor Documentation

◆ OMPDetachClause() [1/2]

OMPDetachClause::OMPDetachClause ( Expr * Evt,
SourceLocation StartLoc,
SourceLocation LParenLoc,
SourceLocation EndLoc )
inline

Build 'detach' clause with event-handler Evt.

Parameters
EvtEvent handler expression.
StartLocStarting location of the clause.
LParenLocLocation of '('.
EndLocEnding location of the clause.

Definition at line 9132 of file OpenMPClause.h.

◆ OMPDetachClause() [2/2]

OMPDetachClause::OMPDetachClause ( )
inline

Build an empty clause.

Definition at line 9137 of file OpenMPClause.h.

Member Function Documentation

◆ getEventHandler()

Expr * OMPDetachClause::getEventHandler ( ) const
inline

Returns event-handler expression.

Definition at line 9140 of file OpenMPClause.h.

◆ OMPClauseReader

friend class OMPClauseReader
friend

Definition at line 9120 of file OpenMPClause.h.

References OMPClauseReader.

Referenced by OMPClauseReader.


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