clang 20.0.0git
|
#include "clang/Sema/SemaCUDA.h"
Public Member Functions | |
CUDATargetContextRAII (SemaCUDA &S_, SemaCUDA::CUDATargetContextKind K, Decl *D) | |
~CUDATargetContextRAII () | |
Public Attributes | |
SemaCUDA & | S |
SemaCUDA::CUDATargetContext | SavedCtx |
Definition at line 143 of file SemaCUDA.h.
SemaCUDA::CUDATargetContextRAII::CUDATargetContextRAII | ( | SemaCUDA & | S_, |
SemaCUDA::CUDATargetContextKind | K, | ||
Decl * | D | ||
) |
Definition at line 116 of file SemaCUDA.cpp.
References clang::SemaCUDA::CTCK_InitGlobalVar, clang::SemaCUDA::CurCUDATargetCtx, D, clang::Device, clang::Host, S, SavedCtx, and clang::Target.
|
inline |
Definition at line 148 of file SemaCUDA.h.
References clang::SemaCUDA::CurCUDATargetCtx, S, and SavedCtx.
SemaCUDA& clang::SemaCUDA::CUDATargetContextRAII::S |
Definition at line 144 of file SemaCUDA.h.
Referenced by CUDATargetContextRAII(), and ~CUDATargetContextRAII().
SemaCUDA::CUDATargetContext clang::SemaCUDA::CUDATargetContextRAII::SavedCtx |
Definition at line 145 of file SemaCUDA.h.
Referenced by CUDATargetContextRAII(), and ~CUDATargetContextRAII().