clang: clang::OMPThreadsetClause Class Reference (original) (raw)
This represents 'threadset' clause in the '#pragma omp task ...' directive. More...
#include "[clang/AST/OpenMPClause.h](OpenMPClause%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| OMPThreadsetClause (OpenMPThreadsetKind A, SourceLocation ALoc, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) | |
| Build 'threadset' clause with argument A ('omp_team' or 'omp_pool'). | |
| OMPThreadsetClause () | |
| Build an empty clause. | |
| void | setLParenLoc (SourceLocation Loc) |
| Sets the location of '('. | |
| SourceLocation | getLParenLoc () const |
| Returns the location of '('. | |
| OpenMPThreadsetKind | getThreadsetKind () const |
| Returns kind of the clause. | |
| SourceLocation | getThreadsetKindLoc () const |
| Returns location of clause kind. | |
| 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 |
| 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 'threadset' clause in the '#pragma omp task ...' directive.
#pragma omp task threadset(omp_pool)
In this example directive '#pragma omp task' has simple 'threadset' clause with kind 'omp_pool'.
Definition at line 1425 of file OpenMPClause.h.
Build 'threadset' clause with argument A ('omp_team' or 'omp_pool').
Parameters
| A | Argument of the clause ('omp_team' or 'omp_pool'). |
|---|---|
| ALoc | Starting location of the argument. |
| StartLoc | Starting location of the clause. |
| LParenLoc | Location of '('. |
| EndLoc | Ending location of the clause. |
Definition at line 1455 of file OpenMPClause.h.
References clang::OMPClause::OMPClause().
◆ OMPThreadsetClause() [2/2]
| clang::OMPThreadsetClause::OMPThreadsetClause ( ) | inline |
|---|
◆ children() [1/2]
| child_range clang::OMPThreadsetClause::children ( ) | inline |
|---|
◆ children() [2/2]
◆ classof()
| bool clang::OMPThreadsetClause::classof ( const OMPClause * T) | inlinestatic |
|---|
◆ getLParenLoc()
| SourceLocation clang::OMPThreadsetClause::getLParenLoc ( ) const | inline |
|---|
◆ getThreadsetKind()
◆ getThreadsetKindLoc()
| SourceLocation clang::OMPThreadsetClause::getThreadsetKindLoc ( ) const | inline |
|---|
◆ setLParenLoc()
| void clang::OMPThreadsetClause::setLParenLoc ( SourceLocation Loc) | inline |
|---|
◆ used_children() [1/2]
| child_range clang::OMPThreadsetClause::used_children ( ) | inline |
|---|
◆ used_children() [2/2]
◆ OMPClauseReader
The documentation for this class was generated from the following file:
- include/clang/AST/OpenMPClause.h