clang 22.0.0git
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 256 of file SemaOpenACC.h.

Member Data Documentation

◆ DirKind

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

Definition at line 258 of file SemaOpenACC.h.

◆ Loc

SourceLocation clang::SemaOpenACC::LoopGangOnKernelTy::Loc

Definition at line 257 of file SemaOpenACC.h.


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