clang  7.0.0svn
Public Member Functions | Static Public Member Functions | List of all members
OMPThreadsClause Class Reference

This represents 'threads' clause in the '#pragma omp ...' directive. More...

#include "clang/AST/OpenMPClause.h"

Inheritance diagram for OMPThreadsClause:
Inheritance graph
Collaboration diagram for OMPThreadsClause:
Collaboration graph

Public Member Functions

 OMPThreadsClause (SourceLocation StartLoc, SourceLocation EndLoc)
 Build 'threads' clause. More...
 OMPThreadsClause ()
 Build an empty clause. More...
child_range children ()

Static Public Member Functions

static bool classof (const OMPClause *T)

Detailed Description

This represents 'threads' clause in the '#pragma omp ...' directive.

#pragma omp ordered threads

In this example directive '#pragma omp ordered' has simple 'threads' clause.

Definition at line 3238 of file OpenMPClause.h.

Constructor & Destructor Documentation

◆ OMPThreadsClause() [1/2]

OMPThreadsClause::OMPThreadsClause ( SourceLocation  StartLoc,
SourceLocation  EndLoc 

Build 'threads' clause.

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

Definition at line 3244 of file OpenMPClause.h.

◆ OMPThreadsClause() [2/2]

OMPThreadsClause::OMPThreadsClause ( )

Build an empty clause.

Definition at line 3248 of file OpenMPClause.h.

Member Function Documentation

◆ children()

child_range OMPThreadsClause::children ( )

Definition at line 3251 of file OpenMPClause.h.

◆ classof()

static bool OMPThreadsClause::classof ( const OMPClause T)

Definition at line 3255 of file OpenMPClause.h.

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