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

An 'if' clause, which has a required condition expression. More...

#include "clang/AST/OpenACCClause.h"

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

Static Public Member Functions

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

 OpenACCIfClause (SourceLocation BeginLoc, SourceLocation LParenLoc, Expr *ConditionExpr, SourceLocation EndLoc)
 
- Protected Member Functions inherited from clang::OpenACCClauseWithCondition
 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 >
 
- Public Member Functions inherited from clang::OpenACCClauseWithCondition
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
 

Detailed Description

An 'if' clause, which has a required condition expression.

Definition at line 316 of file OpenACCClause.h.

Constructor & Destructor Documentation

◆ OpenACCIfClause()

OpenACCIfClause::OpenACCIfClause ( SourceLocation  BeginLoc,
SourceLocation  LParenLoc,
Expr ConditionExpr,
SourceLocation  EndLoc 
)
protected

Member Function Documentation

◆ classof()

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

Definition at line 322 of file OpenACCClause.h.

References clang::C, and clang::If.

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

◆ Create()

OpenACCIfClause * OpenACCIfClause::Create ( const ASTContext C,
SourceLocation  BeginLoc,
SourceLocation  LParenLoc,
Expr ConditionExpr,
SourceLocation  EndLoc 
)
static

Definition at line 64 of file OpenACCClause.cpp.

References clang::C.

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


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