clang 20.0.0git
Static Public Member Functions | List of all members
clang::OpenACCPresentClause Class Referencefinal

#include "clang/AST/OpenACCClause.h"

Inheritance diagram for clang::OpenACCPresentClause:
Inheritance graph
[legend]

Static Public Member Functions

static bool classof (const OpenACCClause *C)
 
static OpenACCPresentClauseCreate (const ASTContext &C, SourceLocation BeginLoc, SourceLocation LParenLoc, ArrayRef< Expr * > VarList, SourceLocation EndLoc)
 
- Static Public Member Functions inherited from clang::OpenACCClauseWithVarList
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 *)
 

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::OpenACCClauseWithVarList
ArrayRef< Expr * > getVarList ()
 
ArrayRef< Expr * > getVarList () const
 
- 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
 
child_range children ()
 
const_child_range children () const
 
virtual ~OpenACCClause ()=default
 
- Protected Member Functions inherited from clang::OpenACCClauseWithVarList
 OpenACCClauseWithVarList (OpenACCClauseKind K, SourceLocation BeginLoc, SourceLocation LParenLoc, 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.
 
llvm::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)
 

Detailed Description

Definition at line 862 of file OpenACCClause.h.

Member Function Documentation

◆ classof()

static bool clang::OpenACCPresentClause::classof ( const OpenACCClause C)
inlinestatic

Definition at line 877 of file OpenACCClause.h.

References clang::C, and clang::Present.

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

◆ Create()

OpenACCPresentClause * OpenACCPresentClause::Create ( const ASTContext C,
SourceLocation  BeginLoc,
SourceLocation  LParenLoc,
ArrayRef< Expr * >  VarList,
SourceLocation  EndLoc 
)
static

Definition at line 353 of file OpenACCClause.cpp.

References clang::C.

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


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