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

A 'default' clause, has the optional 'none' or 'present' argument. More...

#include "clang/AST/OpenACCClause.h"

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

Public Member Functions

OpenACCDefaultClauseKind getDefaultClauseKind () 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 OpenACCDefaultClauseCreate (const ASTContext &C, OpenACCDefaultClauseKind K, SourceLocation BeginLoc, SourceLocation LParenLoc, 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 *)
 

Protected Member Functions

 OpenACCDefaultClause (OpenACCDefaultClauseKind K, SourceLocation BeginLoc, SourceLocation LParenLoc, 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)
 

Friends

class ASTReaderStmt
 
class ASTWriterStmt
 

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

A 'default' clause, has the optional 'none' or 'present' argument.

Definition at line 248 of file OpenACCClause.h.

Constructor & Destructor Documentation

◆ OpenACCDefaultClause()

clang::OpenACCDefaultClause::OpenACCDefaultClause ( OpenACCDefaultClauseKind  K,
SourceLocation  BeginLoc,
SourceLocation  LParenLoc,
SourceLocation  EndLoc 
)
inlineprotected

Definition at line 255 of file OpenACCClause.h.

References clang::None, and clang::Present.

Member Function Documentation

◆ classof()

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

Definition at line 266 of file OpenACCClause.h.

References clang::C, and clang::Default.

◆ Create()

OpenACCDefaultClause * OpenACCDefaultClause::Create ( const ASTContext C,
OpenACCDefaultClauseKind  K,
SourceLocation  BeginLoc,
SourceLocation  LParenLoc,
SourceLocation  EndLoc 
)
static

Definition at line 53 of file OpenACCClause.cpp.

References clang::C.

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

◆ getDefaultClauseKind()

OpenACCDefaultClauseKind clang::OpenACCDefaultClause::getDefaultClauseKind ( ) const
inline

Definition at line 269 of file OpenACCClause.h.

Friends And Related Function Documentation

◆ ASTReaderStmt

friend class ASTReaderStmt
friend

Definition at line 249 of file OpenACCClause.h.

◆ ASTWriterStmt

friend class ASTWriterStmt
friend

Definition at line 250 of file OpenACCClause.h.


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