clang 23.0.0git
OMPThreadsClause Class Referencefinal

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

#include "clang/AST/OpenMPClause.h"

Inheritance diagram for OMPThreadsClause:
[legend]

Public Member Functions

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

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 5820 of file OpenMPClause.h.

Constructor & Destructor Documentation

◆ OMPThreadsClause() [1/2]

OMPThreadsClause::OMPThreadsClause ( SourceLocation StartLoc,
SourceLocation EndLoc )
inline

Build 'threads' clause.

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

Definition at line 5827 of file OpenMPClause.h.

◆ OMPThreadsClause() [2/2]

OMPThreadsClause::OMPThreadsClause ( )
inline

Build an empty clause.

Definition at line 5831 of file OpenMPClause.h.


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