clang 20.0.0git
|
A 'device_type' or 'dtype' clause, takes a list of either an 'asterisk' or an identifier. More...
#include "clang/AST/OpenACCClause.h"
Public Member Functions | |
bool | hasAsterisk () const |
ArrayRef< DeviceTypeArgument > | getArchitectures () const |
Public Member Functions inherited from clang::OpenACCClauseWithParams | |
SourceLocation | getLParenLoc () const |
child_range | children () |
const_child_range | children () const |
Public Member Functions inherited from clang::OpenACCClause | |
OpenACCClauseKind | getClauseKind () const |
SourceLocation | getBeginLoc () const |
SourceLocation | getEndLoc () const |
child_range | children () |
const_child_range | children () const |
virtual | ~OpenACCClause ()=default |
Static Public Member Functions | |
static bool | classof (const OpenACCClause *C) |
static OpenACCDeviceTypeClause * | Create (const ASTContext &C, OpenACCClauseKind K, SourceLocation BeginLoc, SourceLocation LParenLoc, ArrayRef< DeviceTypeArgument > Archs, SourceLocation EndLoc) |
Static Public Member Functions inherited from clang::OpenACCClauseWithParams | |
static bool | classof (const OpenACCClause *C) |
Static Public Member Functions inherited from clang::OpenACCClause | |
static bool | classof (const OpenACCClause *) |
Additional Inherited Members | |
Public Types inherited from clang::OpenACCClause | |
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::OpenACCClauseWithParams | |
OpenACCClauseWithParams (OpenACCClauseKind K, SourceLocation BeginLoc, SourceLocation LParenLoc, SourceLocation EndLoc) | |
Protected Member Functions inherited from clang::OpenACCClause | |
OpenACCClause (OpenACCClauseKind K, SourceLocation BeginLoc, SourceLocation EndLoc) | |
A 'device_type' or 'dtype' clause, takes a list of either an 'asterisk' or an identifier.
The 'asterisk' means 'the rest'.
Definition at line 226 of file OpenACCClause.h.
|
inlinestatic |
Definition at line 260 of file OpenACCClause.h.
References clang::C, clang::DeviceType, and clang::DType.
Referenced by clang::OpenACCClauseWithParams::classof().
|
static |
Definition at line 302 of file OpenACCClause.cpp.
References clang::C.
Referenced by clang::ASTRecordReader::readOpenACCClause().
|
inline |
Definition at line 269 of file OpenACCClause.h.
Referenced by hasAsterisk().
|
inline |
Definition at line 264 of file OpenACCClause.h.
References getArchitectures().