|
clang 22.0.0git
|
This represents 'destroy' clause in the '#pragma omp depobj' directive or the '#pragma omp interop' directive. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
| OMPDestroyClause (Expr *InteropVar, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation VarLoc, SourceLocation EndLoc) | |
| Build 'destroy' clause with an interop variable expression InteropVar. | |
| OMPDestroyClause (SourceLocation StartLoc, SourceLocation EndLoc) | |
| Build 'destroy' clause. | |
| OMPDestroyClause () | |
| Build an empty clause. | |
| SourceLocation | getLParenLoc () const |
| Returns the location of '('. | |
| SourceLocation | getVarLoc () const |
| Returns the location of the interop variable. | |
| Expr * | getInteropVar () const |
| Returns the interop variable. | |
| child_range | children () |
| const_child_range | children () const |
| child_range | used_children () |
| const_child_range | used_children () const |
| Public Member Functions inherited from clang::OMPClause | |
| SourceLocation | getBeginLoc () const |
| Returns the starting location of the clause. | |
| SourceLocation | getEndLoc () const |
| Returns the ending location of the clause. | |
| void | setLocStart (SourceLocation Loc) |
| Sets the starting location of the clause. | |
| void | setLocEnd (SourceLocation Loc) |
| Sets the ending location of the clause. | |
| OpenMPClauseKind | getClauseKind () const |
| Returns kind of OpenMP clause (private, shared, reduction, etc.). | |
| bool | isImplicit () const |
| child_range | children () |
| const_child_range | children () const |
| child_range | used_children () |
| Get the iterator range for the expressions used in the clauses. | |
| const_child_range | used_children () const |
Static Public Member Functions | |
| static bool | classof (const OMPClause *T) |
| Static Public Member Functions inherited from clang::OMPClause | |
| static bool | classof (const OMPClause *) |
Friends | |
| class | OMPClauseReader |
Additional Inherited Members | |
| Public Types inherited from clang::OMPClause | |
| using | child_iterator = StmtIterator |
| using | const_child_iterator = ConstStmtIterator |
| using | child_range = llvm::iterator_range<child_iterator> |
| using | const_child_range = llvm::iterator_range<const_child_iterator> |
| Protected Member Functions inherited from clang::OMPClause | |
| OMPClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) | |
This represents 'destroy' clause in the '#pragma omp depobj' directive or the '#pragma omp interop' directive.
In these examples directive '#pragma omp depobj' and '#pragma omp interop' have a 'destroy' clause. The 'interop' directive includes an object.
Definition at line 8957 of file OpenMPClause.h.
|
inline |
Build 'destroy' clause with an interop variable expression InteropVar.
| InteropVar | The interop variable. |
| StartLoc | Starting location of the clause. |
| LParenLoc | Location of '('. |
| VarLoc | Location of the interop variable. |
| EndLoc | Ending location of the clause. |
Definition at line 8986 of file OpenMPClause.h.
References clang::OMPClause::OMPClause().
|
inline |
Build 'destroy' clause.
| StartLoc | Starting location of the clause. |
| EndLoc | Ending location of the clause. |
Definition at line 8996 of file OpenMPClause.h.
References clang::OMPClause::OMPClause().
|
inline |
Build an empty clause.
Definition at line 9000 of file OpenMPClause.h.
References clang::OMPClause::OMPClause().
|
inline |
Definition at line 9013 of file OpenMPClause.h.
|
inline |
Definition at line 9019 of file OpenMPClause.h.
Definition at line 9032 of file OpenMPClause.h.
References clang::OMPClause::OMPClause(), and clang::T.
|
inline |
Returns the interop variable.
Definition at line 9011 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 9005 of file OpenMPClause.h.
|
inline |
Returns the location of the interop variable.
Definition at line 9008 of file OpenMPClause.h.
|
inline |
Definition at line 9025 of file OpenMPClause.h.
|
inline |
Definition at line 9028 of file OpenMPClause.h.
|
friend |
Definition at line 8958 of file OpenMPClause.h.
References OMPClauseReader.
Referenced by OMPClauseReader.