clang 19.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

SemaCUDA::CUDATargetContext SavedCtx

Detailed Description

Definition at line 133 of file SemaCUDA.h.

Constructor & Destructor Documentation

◆ CUDATargetContextRAII()

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

◆ ~CUDATargetContextRAII()

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

Definition at line 138 of file SemaCUDA.h.

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

Member Data Documentation

◆ S

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

Definition at line 134 of file SemaCUDA.h.

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

◆ SavedCtx

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

Definition at line 135 of file SemaCUDA.h.

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

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