clang 24.0.0git
clang::QualTypeBoolInfo Struct Reference

UniquingSet info for pools keyed on a QualType and a bool. More...

#include "clang/AST/ASTContext.h"

Public Types

using KeyTy = std::pair<QualType, bool>

Static Public Member Functions

template<typename T>
static KeyTy getKey (const T &N)
static unsigned getHashValue (const KeyTy &Key)
template<typename T>
static bool isEqual (const KeyTy &Key, const T &N)

Detailed Description

UniquingSet info for pools keyed on a QualType and a bool.

DenseMapInfo has no bool specialization, so we cannot use the default UniquingSetInfo.

Definition at line 223 of file ASTContext.h.

Member Typedef Documentation

◆ KeyTy

Definition at line 224 of file ASTContext.h.

Member Function Documentation

◆ getHashValue()

unsigned clang::QualTypeBoolInfo::getHashValue ( const KeyTy & Key)
inlinestatic

Definition at line 228 of file ASTContext.h.

◆ getKey()

template<typename T>
KeyTy clang::QualTypeBoolInfo::getKey ( const T & N)
inlinestatic

Definition at line 226 of file ASTContext.h.

References clang::T.

◆ isEqual()

template<typename T>
bool clang::QualTypeBoolInfo::isEqual ( const KeyTy & Key,
const T & N )
inlinestatic

Definition at line 232 of file ASTContext.h.

References clang::T.


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