clang 22.0.0git
clang::OMPXBareClause Class Reference

This represents 'ompx_bare' clause in the '#pragma omp target teams ...' directive. More...

#include "clang/AST/OpenMPClause.h"

Inheritance diagram for clang::OMPXBareClause:
[legend]

Public Member Functions

 OMPXBareClause (SourceLocation StartLoc, SourceLocation EndLoc)
 Build 'ompx_bare' clause.
 OMPXBareClause ()=default
 Build an empty clause.
Public Member Functions inherited from clang::OMPNoChildClause< llvm::omp::OMPC_ompx_bare >
 OMPNoChildClause (SourceLocation StartLoc, SourceLocation EndLoc)
 Build 'ClauseKind' clause.
child_range children ()
child_range used_children ()
Public Member Functions inherited from clang::OMPClause
SourceLocation getBeginLoc () const
 Returns the starting location of the clause.
SourceLocation getEndLoc () const
 Returns the ending location of the clause.
void setLocStart (SourceLocation Loc)
 Sets the starting location of the clause.
void setLocEnd (SourceLocation Loc)
 Sets the ending location of the clause.
OpenMPClauseKind getClauseKind () const
 Returns kind of OpenMP clause (private, shared, reduction, etc.).
bool isImplicit () const
child_range children ()
const_child_range children () const
child_range used_children ()
 Get the iterator range for the expressions used in the clauses.
const_child_range used_children () const

Additional Inherited Members

Public Types inherited from clang::OMPClause
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>
Static Public Member Functions inherited from clang::OMPNoChildClause< llvm::omp::OMPC_ompx_bare >
static bool classof (const OMPClause *T)
Static Public Member Functions inherited from clang::OMPClause
static bool classof (const OMPClause *)
Protected Member Functions inherited from clang::OMPClause
 OMPClause (OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc)

Detailed Description

This represents 'ompx_bare' clause in the '#pragma omp target teams ...' directive.

#pragma omp target teams ompx_bare

In this example directive '#pragma omp target teams' has a 'ompx_bare' clause.

Definition at line 9954 of file OpenMPClause.h.

Constructor & Destructor Documentation

◆ OMPXBareClause() [1/2]

clang::OMPXBareClause::OMPXBareClause ( SourceLocation StartLoc,
SourceLocation EndLoc )
inline

Build 'ompx_bare' clause.

Parameters
StartLocStarting location of the clause.
EndLocEnding location of the clause.

Definition at line 9960 of file OpenMPClause.h.

References clang::OMPNoChildClause< llvm::omp::OMPC_ompx_bare >::OMPNoChildClause().

◆ OMPXBareClause() [2/2]

clang::OMPXBareClause::OMPXBareClause ( )
default

Build an empty clause.


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