clang 24.0.0git
AddressSpaces.h File Reference

Provides definitions for the various language-specific address spaces. More...

#include <array>
#include <cassert>
#include <initializer_list>
#include <utility>

Go to the source code of this file.

Classes

class  clang::LangASMap
 The type of a lookup table which maps from language-specific address spaces to target-specific ones. More...

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.

Enumerations

enum class  clang::LangAS : unsigned {
  clang::Default = 0 , clang::opencl_global , clang::opencl_local , clang::opencl_constant ,
  clang::opencl_private , clang::opencl_generic , clang::opencl_global_device , clang::opencl_global_host ,
  clang::cuda_device , clang::cuda_constant , clang::cuda_shared , clang::sycl_global ,
  clang::sycl_global_device , clang::sycl_global_host , clang::sycl_local , clang::sycl_private ,
  clang::ptr32_sptr , clang::ptr32_uptr , clang::ptr64 , clang::hlsl_groupshared ,
  clang::hlsl_constant , clang::hlsl_private , clang::hlsl_device , clang::hlsl_input ,
  clang::hlsl_output , clang::hlsl_push_constant , clang::wasm_funcref , clang::amdgpu_barrier ,
  clang::FirstTargetAddressSpace
}
 Defines the address space values used by the address space qualifier of QualType. More...

Functions

bool clang::isTargetAddressSpace (LangAS AS)
unsigned clang::toTargetAddressSpace (LangAS AS)
LangAS clang::getLangASFromTargetAS (unsigned TargetAS)
bool clang::isPtrSizeAddressSpace (LangAS AS)

Detailed Description

Provides definitions for the various language-specific address spaces.

Definition in file AddressSpaces.h.