class ASTIdentifierLookupTraitBase

Declaration

class ASTIdentifierLookupTraitBase { /* full declaration omitted */ };

Description

Base class for the trait describing the on-disk hash table for the identifiers in an AST file. This class is not useful by itself; rather, it provides common functionality for accessing the on-disk hash table of identifiers in an AST file. Different subclasses customize that functionality based on what information they are interested in. Those subclasses must provide the \c data_type type and the ReadData operation, only.

Declared at: clang/lib/Serialization/ASTReaderInternals.h:130

Method Overview

  • public static clang::serialization::reader::ASTIdentifierLookupTraitBase::hash_value_type ComputeHash(const clang::serialization::reader::ASTIdentifierLookupTraitBase::internal_key_type & a)
  • public static bool EqualKey(const clang::serialization::reader::ASTIdentifierLookupTraitBase::internal_key_type & a, const clang::serialization::reader::ASTIdentifierLookupTraitBase::internal_key_type & b)
  • public static const clang::serialization::reader::ASTIdentifierLookupTraitBase::external_key_type & GetExternalKey(const clang::serialization::reader::ASTIdentifierLookupTraitBase::internal_key_type & x)
  • public static const clang::serialization::reader::ASTIdentifierLookupTraitBase::internal_key_type & GetInternalKey(const clang::serialization::reader::ASTIdentifierLookupTraitBase::external_key_type & x)
  • public static clang::serialization::reader::ASTIdentifierLookupTraitBase::internal_key_type ReadKey(const unsigned char * d, unsigned int n)
  • public static std::pair<unsigned int, unsigned int> ReadKeyDataLength(const unsigned char *& d)

Methods

static clang::serialization::reader::
    ASTIdentifierLookupTraitBase::hash_value_type
    ComputeHash(
        const clang::serialization::reader::
            ASTIdentifierLookupTraitBase::
                internal_key_type& a)

Declared at: clang/lib/Serialization/ASTReaderInternals.h:141

Parameters

const clang::serialization::reader:: ASTIdentifierLookupTraitBase:: internal_key_type& a

static bool EqualKey(
    const clang::serialization::reader::
        ASTIdentifierLookupTraitBase::
            internal_key_type& a,
    const clang::serialization::reader::
        ASTIdentifierLookupTraitBase::
            internal_key_type& b)

Declared at: clang/lib/Serialization/ASTReaderInternals.h:137

Parameters

const clang::serialization::reader:: ASTIdentifierLookupTraitBase:: internal_key_type& a
const clang::serialization::reader:: ASTIdentifierLookupTraitBase:: internal_key_type& b

static const clang::serialization::reader::
    ASTIdentifierLookupTraitBase::
        external_key_type&
        GetExternalKey(
            const clang::serialization::reader::
                ASTIdentifierLookupTraitBase::
                    internal_key_type& x)

Declared at: clang/lib/Serialization/ASTReaderInternals.h:152

Parameters

const clang::serialization::reader:: ASTIdentifierLookupTraitBase:: internal_key_type& x

static const clang::serialization::reader::
    ASTIdentifierLookupTraitBase::
        internal_key_type&
        GetInternalKey(
            const clang::serialization::reader::
                ASTIdentifierLookupTraitBase::
                    external_key_type& x)

Declared at: clang/lib/Serialization/ASTReaderInternals.h:148

Parameters

const clang::serialization::reader:: ASTIdentifierLookupTraitBase:: external_key_type& x

static clang::serialization::reader::
    ASTIdentifierLookupTraitBase::
        internal_key_type
        ReadKey(const unsigned char* d,
                unsigned int n)

Declared at: clang/lib/Serialization/ASTReaderInternals.h:154

Parameters

const unsigned char* d
unsigned int n

static std::pair<unsigned int, unsigned int>
ReadKeyDataLength(const unsigned char*& d)

Declared at: clang/lib/Serialization/ASTReaderInternals.h:144

Parameters

const unsigned char*& d