clang 22.0.0git
clang::Builtin::Info Struct Reference

The info used to represent each builtin. More...

#include "clang/Basic/Builtins.h"

Classes

struct  StrOffsets

Public Member Functions

std::string getName (const InfosShard &Shard) const
 Get the name for the builtin represented by this Info object.

Public Attributes

struct clang::Builtin::Info::StrOffsets Offsets
HeaderDesc Header = HeaderDesc::NO_HEADER
LanguageID Langs = ALL_LANGUAGES

Detailed Description

The info used to represent each builtin.

Definition at line 78 of file Builtins.h.

Member Function Documentation

◆ getName()

std::string Builtin::Info::getName ( const InfosShard & Shard) const

Get the name for the builtin represented by this Info object.

Must be provided the Shard for this Info object.

Definition at line 74 of file Builtins.cpp.

References clang::Builtin::InfosShard::NamePrefix, Offsets, and clang::Builtin::InfosShard::Strings.

Member Data Documentation

◆ Header

HeaderDesc clang::Builtin::Info::Header = HeaderDesc::NO_HEADER

Definition at line 90 of file Builtins.h.

Referenced by builtinIsSupported().

◆ Langs

LanguageID clang::Builtin::Info::Langs = ALL_LANGUAGES

Definition at line 91 of file Builtins.h.

Referenced by builtinIsSupported().

◆ Offsets

struct clang::Builtin::Info::StrOffsets clang::Builtin::Info::Offsets

Referenced by builtinIsSupported(), and getName().


The documentation for this struct was generated from the following files: