clang 24.0.0git
clang::LangASMap Class Reference

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

#include "clang/Basic/AddressSpaces.h"

Public Member Functions

constexpr LangASMap ()=default
constexpr LangASMap (std::initializer_list< std::pair< LangAS, unsigned > > Mappings)
constexpr unsigned operator[] (LangAS AS) const

Detailed Description

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

Definition at line 82 of file AddressSpaces.h.

Constructor & Destructor Documentation

◆ LangASMap() [1/2]

clang::LangASMap::LangASMap ( )
constexprdefault

◆ LangASMap() [2/2]

clang::LangASMap::LangASMap ( std::initializer_list< std::pair< LangAS, unsigned > > Mappings)
inlineconstexpr

Definition at line 88 of file AddressSpaces.h.

Member Function Documentation

◆ operator[]()

unsigned clang::LangASMap::operator[] ( LangAS AS) const
inlineconstexpr

Definition at line 94 of file AddressSpaces.h.


The documentation for this class was generated from the following file: