clang: include/clang/Basic/AddressSpaces.h Source File (original) (raw)

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15#ifndef LLVM_CLANG_BASIC_ADDRESSSPACES_H

16#define LLVM_CLANG_BASIC_ADDRESSSPACES_H

17

18#include

19

21

22

23

24

26

27

29

30

31

32

33

41

42

46

47

53

54

58

59

61

62

64

65

66

67

69};

70

71

72

74

75

76

79}

80

84}

85

87 return static_cast<LangAS>((TargetAS) +

89}

90

94}

95

96}

97

98#endif

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

unsigned[(unsigned) LangAS::FirstTargetAddressSpace] LangASMap

The type of a lookup table which maps from language-specific address spaces to target-specific ones.

bool isTargetAddressSpace(LangAS AS)

unsigned toTargetAddressSpace(LangAS AS)

LangAS

Defines the address space values used by the address space qualifier of QualType.

@ FirstTargetAddressSpace

bool isPtrSizeAddressSpace(LangAS AS)

LangAS getLangASFromTargetAS(unsigned TargetAS)