class OMPRequiresDecl

Declaration

class OMPRequiresDecl : public OMPDeclarativeDirective { /* full declaration omitted */ };

Description

This represents '#pragma omp requires...' directive. For example

Declared at: clang/include/clang/AST/DeclOpenMP.h:416

Inherits from: OMPDeclarativeDirective

Method Overview

  • public static clang::OMPRequiresDecl * Create(clang::ASTContext & C, clang::DeclContext * DC, clang::SourceLocation L, ArrayRef<clang::OMPClause *> CL)
  • public static clang::OMPRequiresDecl * CreateDeserialized(clang::ASTContext & C, unsigned int ID, unsigned int N)
  • private OMPRequiresDecl(clang::DeclContext * DC, clang::SourceLocation L)
  • private virtual void anchor()
  • public static bool classof(const clang::Decl * D)
  • public static bool classofKind(clang::Decl::Kind K)
  • public clang::OMPRequiresDecl::clauselist_iterator clauselist_begin()
  • public clang::OMPRequiresDecl::clauselist_const_iterator clauselist_begin() const
  • public bool clauselist_empty() const
  • public clang::OMPRequiresDecl::clauselist_iterator clauselist_end()
  • public clang::OMPRequiresDecl::clauselist_const_iterator clauselist_end() const
  • public unsigned int clauselist_size() const
  • public clang::OMPRequiresDecl::clauselist_range clauselists()
  • public clang::OMPRequiresDecl::clauselist_const_range clauselists() const

Methods

static clang::OMPRequiresDecl* Create(
    clang::ASTContext& C,
    clang::DeclContext* DC,
    clang::SourceLocation L,
    ArrayRef<clang::OMPClause*> CL)

Description

Create requires node.

Declared at: clang/include/clang/AST/DeclOpenMP.h:427

Parameters

clang::ASTContext& C
clang::DeclContext* DC
clang::SourceLocation L
ArrayRef<clang::OMPClause*> CL

static clang::OMPRequiresDecl* CreateDeserialized(
    clang::ASTContext& C,
    unsigned int ID,
    unsigned int N)

Description

Create deserialized requires node.

Declared at: clang/include/clang/AST/DeclOpenMP.h:430

Parameters

clang::ASTContext& C
unsigned int ID
unsigned int N

OMPRequiresDecl(clang::DeclContext* DC,
                clang::SourceLocation L)

Declared at: clang/include/clang/AST/DeclOpenMP.h:422

Parameters

clang::DeclContext* DC
clang::SourceLocation L

virtual void anchor()

Declared at: clang/include/clang/AST/DeclOpenMP.h:420

static bool classof(const clang::Decl* D)

Declared at: clang/include/clang/AST/DeclOpenMP.h:456

Parameters

const clang::Decl* D

static bool classofKind(clang::Decl::Kind K)

Declared at: clang/include/clang/AST/DeclOpenMP.h:457

Parameters

clang::Decl::Kind K

clang::OMPRequiresDecl::clauselist_iterator
clauselist_begin()

Declared at: clang/include/clang/AST/DeclOpenMP.h:447

clang::OMPRequiresDecl::clauselist_const_iterator
clauselist_begin() const

Declared at: clang/include/clang/AST/DeclOpenMP.h:449

bool clauselist_empty() const

Declared at: clang/include/clang/AST/DeclOpenMP.h:439

clang::OMPRequiresDecl::clauselist_iterator
clauselist_end()

Declared at: clang/include/clang/AST/DeclOpenMP.h:448

clang::OMPRequiresDecl::clauselist_const_iterator
clauselist_end() const

Declared at: clang/include/clang/AST/DeclOpenMP.h:452

unsigned int clauselist_size() const

Declared at: clang/include/clang/AST/DeclOpenMP.h:438

clang::OMPRequiresDecl::clauselist_range
clauselists()

Declared at: clang/include/clang/AST/DeclOpenMP.h:441

clang::OMPRequiresDecl::clauselist_const_range
clauselists() const

Declared at: clang/include/clang/AST/DeclOpenMP.h:444