clang  6.0.0svn
Namespaces | Typedefs | Enumerations | Functions
AddressSpaces.h File Reference

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

#include <assert.h>
Include dependency graph for AddressSpaces.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 clang
 Dataflow Directional Tag Classes.
 

Typedefs

typedef unsigned clang::LangASMap[(unsigned) LangAS::FirstTargetAddressSpace]
 The type of a lookup table which maps from language-specific address spaces to target-specific ones. More...
 

Enumerations

enum  clang::LangAS : unsigned {
  clang::LangAS::Default = 0, clang::LangAS::opencl_global, clang::LangAS::opencl_local, clang::LangAS::opencl_constant,
  clang::LangAS::opencl_private, clang::LangAS::opencl_generic, clang::LangAS::cuda_device, clang::LangAS::cuda_constant,
  clang::LangAS::cuda_shared, clang::LangAS::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)
 

Detailed Description

Provides definitions for the various language-specific address spaces.

Definition in file AddressSpaces.h.