clang 20.0.0git
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
clang::OpenACCClauseWithCondition Class Reference

Represents one of the handful of classes that has an optional/required 'condition' expression as an argument. More...

#include "clang/AST/OpenACCClause.h"

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

Public Member Functions

bool hasConditionExpr () const
 
const ExprgetConditionExpr () const
 
ExprgetConditionExpr ()
 
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
 

Static Public Member Functions

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

 OpenACCClauseWithCondition (OpenACCClauseKind K, SourceLocation BeginLoc, SourceLocation LParenLoc, Expr *ConditionExpr, SourceLocation EndLoc)
 
- 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 >
 

Detailed Description

Represents one of the handful of classes that has an optional/required 'condition' expression as an argument.

Definition at line 315 of file OpenACCClause.h.

Constructor & Destructor Documentation

◆ OpenACCClauseWithCondition()

clang::OpenACCClauseWithCondition::OpenACCClauseWithCondition ( OpenACCClauseKind  K,
SourceLocation  BeginLoc,
SourceLocation  LParenLoc,
Expr ConditionExpr,
SourceLocation  EndLoc 
)
inlineprotected

Definition at line 319 of file OpenACCClause.h.

Member Function Documentation

◆ children() [1/2]

child_range clang::OpenACCClauseWithCondition::children ( )
inline

Definition at line 332 of file OpenACCClause.h.

◆ children() [2/2]

const_child_range clang::OpenACCClauseWithCondition::children ( ) const
inline

Definition at line 339 of file OpenACCClause.h.

◆ classof()

bool OpenACCClauseWithCondition::classof ( const OpenACCClause C)
static

◆ getConditionExpr() [1/2]

Expr * clang::OpenACCClauseWithCondition::getConditionExpr ( )
inline

Definition at line 330 of file OpenACCClause.h.

◆ getConditionExpr() [2/2]

const Expr * clang::OpenACCClauseWithCondition::getConditionExpr ( ) const
inline

Definition at line 329 of file OpenACCClause.h.

◆ hasConditionExpr()

bool clang::OpenACCClauseWithCondition::hasConditionExpr ( ) const
inline

Definition at line 328 of file OpenACCClause.h.


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