clang 20.0.0git
Public Attributes | List of all members
clang::SemaOpenACC::LoopGangOnKernelTy Struct Reference

If there is a current 'active' loop construct with a 'gang' clause on a 'kernel' construct, this will have the source location for it, and the 'kernel kind'. More...

#include "clang/Sema/SemaOpenACC.h"

Public Attributes

SourceLocation Loc
 
OpenACCDirectiveKind DirKind = OpenACCDirectiveKind::Invalid
 

Detailed Description

If there is a current 'active' loop construct with a 'gang' clause on a 'kernel' construct, this will have the source location for it, and the 'kernel kind'.

This permits us to implement the restriction of no further 'gang' clauses.

Definition at line 170 of file SemaOpenACC.h.

Member Data Documentation

◆ DirKind

OpenACCDirectiveKind clang::SemaOpenACC::LoopGangOnKernelTy::DirKind = OpenACCDirectiveKind::Invalid

Definition at line 172 of file SemaOpenACC.h.

◆ Loc

SourceLocation clang::SemaOpenACC::LoopGangOnKernelTy::Loc

Definition at line 171 of file SemaOpenACC.h.


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