clang 22.0.0git
clang::OpenACCVectorClause Class Reference

#include "clang/AST/OpenACCClause.h"

Inheritance diagram for clang::OpenACCVectorClause:
[legend]

Static Public Member Functions

static bool classof (const OpenACCClause *C)
static OpenACCVectorClauseCreate (const ASTContext &Ctx, SourceLocation BeginLoc, SourceLocation LParenLoc, Expr *IntExpr, SourceLocation EndLoc)
Static Public Member Functions inherited from clang::OpenACCClauseWithSingleIntExpr
static bool classof (const OpenACCClause *C)
Static Public Member Functions inherited from clang::OpenACCClauseWithExprs
static bool classof (const OpenACCClause *C)
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 *)

Protected Member Functions

 OpenACCVectorClause (SourceLocation BeginLoc, SourceLocation LParenLoc, Expr *IntExpr, SourceLocation EndLoc)
Protected Member Functions inherited from clang::OpenACCClauseWithSingleIntExpr
 OpenACCClauseWithSingleIntExpr (OpenACCClauseKind K, SourceLocation BeginLoc, SourceLocation LParenLoc, Expr *IntExpr, SourceLocation EndLoc)
Protected Member Functions inherited from clang::OpenACCClauseWithExprs
 OpenACCClauseWithExprs (OpenACCClauseKind K, SourceLocation BeginLoc, SourceLocation LParenLoc, SourceLocation EndLoc)
void setExprs (MutableArrayRef< Expr * > NewExprs)
 Used only for initialization, the leaf class can initialize this to trailing storage.
void setExprs (MutableArrayRef< Expr * > NewStorage, ArrayRef< Expr * > Exprs)
 Used only for initialization, the leaf class can initialize this to trailing storage, and initialize the data in the trailing storage as well.
ArrayRef< Expr * > getExprs () const
 Gets the entire list of expressions, but leave it to the individual clauses to expose this how they'd like.
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)

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>
Public Member Functions inherited from clang::OpenACCClauseWithSingleIntExpr
bool hasIntExpr () const
const ExprgetIntExpr () const
ExprgetIntExpr ()
Public Member Functions inherited from clang::OpenACCClauseWithExprs
child_range children ()
const_child_range children () 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
SourceRange getSourceRange () const
child_range children ()
const_child_range children () const
virtual ~OpenACCClause ()=default

Detailed Description

Definition at line 712 of file OpenACCClause.h.

Constructor & Destructor Documentation

◆ OpenACCVectorClause()

OpenACCVectorClause::OpenACCVectorClause ( SourceLocation BeginLoc,
SourceLocation LParenLoc,
Expr * IntExpr,
SourceLocation EndLoc )
protected

Member Function Documentation

◆ classof()

bool clang::OpenACCVectorClause::classof ( const OpenACCClause * C)
inlinestatic

Definition at line 718 of file OpenACCClause.h.

References clang::C, and clang::Vector.

Referenced by clang::OpenACCClauseWithSingleIntExpr::classof().

◆ Create()

OpenACCVectorClause * OpenACCVectorClause::Create ( const ASTContext & Ctx,
SourceLocation BeginLoc,
SourceLocation LParenLoc,
Expr * IntExpr,
SourceLocation EndLoc )
static

Definition at line 588 of file OpenACCClause.cpp.

References clang::C, and OpenACCVectorClause().

Referenced by clang::ASTRecordReader::readOpenACCClause().


The documentation for this class was generated from the following files: