clang 20.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. | |
OMPNoChildClause () | |
Build an empty clause. | |
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 > |
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 9589 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 9606 of file OpenMPClause.h.
|
inline |
Build an empty clause.
Definition at line 9612 of file OpenMPClause.h.
Returned the attributes parsed from this clause.
Definition at line 9621 of file OpenMPClause.h.
|
inline |
Returns the location of '('.
Definition at line 9618 of file OpenMPClause.h.
|
inline |
|
friend |
Definition at line 9591 of file OpenMPClause.h.