clang 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::SemaCUDA::CUDATargetContextRAII Struct Reference

#include "clang/Sema/SemaCUDA.h"

Public Member Functions

 CUDATargetContextRAII (SemaCUDA &S_, SemaCUDA::CUDATargetContextKind K, Decl *D)
 
 ~CUDATargetContextRAII ()
 

Public Attributes

SemaCUDAS
 
SemaCUDA::CUDATargetContext SavedCtx
 

Detailed Description

Definition at line 143 of file SemaCUDA.h.

Constructor & Destructor Documentation

◆ CUDATargetContextRAII()

SemaCUDA::CUDATargetContextRAII::CUDATargetContextRAII ( SemaCUDA S_,
SemaCUDA::CUDATargetContextKind  K,
Decl D 
)

◆ ~CUDATargetContextRAII()

clang::SemaCUDA::CUDATargetContextRAII::~CUDATargetContextRAII ( )
inline

Definition at line 148 of file SemaCUDA.h.

References clang::SemaCUDA::CurCUDATargetCtx, S, and SavedCtx.

Member Data Documentation

◆ S

SemaCUDA& clang::SemaCUDA::CUDATargetContextRAII::S

Definition at line 144 of file SemaCUDA.h.

Referenced by CUDATargetContextRAII(), and ~CUDATargetContextRAII().

◆ SavedCtx

SemaCUDA::CUDATargetContext clang::SemaCUDA::CUDATargetContextRAII::SavedCtx

Definition at line 145 of file SemaCUDA.h.

Referenced by CUDATargetContextRAII(), and ~CUDATargetContextRAII().


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