|
clang 22.0.0git
|
This represents 'ompx_attribute' clause in a directive that might generate an outlined function. More...
#include "clang/AST/OpenMPClause.h"
Public Member Functions | |
| OMPXAttributeClause (ArrayRef< const Attr * > Attrs, SourceLocation StartLoc, SourceLocation LParenLoc, SourceLocation EndLoc) | |
| Build 'ompx_attribute' clause. | |
| OMPXAttributeClause () | |
| Build an empty clause. | |
| void | setLParenLoc (SourceLocation Loc) |
| Sets the location of '('. | |
| SourceLocation | getLParenLoc () const |
| Returns the location of '('. | |
| ArrayRef< const Attr * > | getAttrs () const |
| Returned the attributes parsed from this clause. | |
| Public Member Functions inherited from clang::OMPNoChildClause< llvm::omp::OMPC_ompx_attribute > | |
| OMPNoChildClause (SourceLocation StartLoc, SourceLocation EndLoc) | |
Build 'ClauseKind' clause. | |
| child_range | children () |
| child_range | used_children () |
| 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> |
| Static Public Member Functions inherited from clang::OMPNoChildClause< llvm::omp::OMPC_ompx_attribute > | |
| static bool | classof (const OMPClause *T) |
| Static Public Member Functions inherited from clang::OMPClause | |
| static bool | classof (const OMPClause *) |
| Protected Member Functions inherited from clang::OMPClause | |
| OMPClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) | |
This represents 'ompx_attribute' clause in a directive that might generate an outlined function.
An example is given below.
Definition at line 10203 of file OpenMPClause.h.
|
inline |
Build 'ompx_attribute' clause.
| Attrs | The parsed attributes (clause arguments) |
| StartLoc | Starting location of the clause. |
| LParenLoc | Location of '('. |
| EndLoc | Ending location of the clause. |
Definition at line 10220 of file OpenMPClause.h.
References clang::OMPNoChildClause< llvm::omp::OMPC_ompx_attribute >::OMPNoChildClause().
|
inline |
Build an empty clause.
Definition at line 10226 of file OpenMPClause.h.
References clang::OMPNoChildClause< llvm::omp::OMPC_ompx_attribute >::OMPNoChildClause().
Returned the attributes parsed from this clause.
Definition at line 10235 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 10232 of file OpenMPClause.h.
|
inline |
Sets the location of '('.
Definition at line 10229 of file OpenMPClause.h.
|
friend |
Definition at line 10205 of file OpenMPClause.h.
References OMPClauseReader.
Referenced by OMPClauseReader.