class ScopedHashTableScope

Declaration

template <typename K,
          typename V,
          typename KInfo = DenseMapInfo<K>,
          typename AllocatorTy = llvm::MallocAllocator>
class ScopedHashTableScope { /* full declaration omitted */ };

Declared at: llvm/include/llvm/ADT/ScopedHashTable.h:85

Templates

K
V
KInfo = DenseMapInfo<K>
AllocatorTy = llvm::MallocAllocator

Member Variables

private ScopedHashTable<K, V, KInfo, AllocatorTy>& HT
HT - The hashtable that we are active for.
private ScopedHashTableScope<K, V, KInfo, AllocatorTy>* PrevScope
PrevScope - This is the scope that we are shadowing in HT.
private ScopedHashTableVal<K, V>* LastValInScope
LastValInScope - This is the last value that was inserted for this scope or null if none have been inserted yet.

Method Overview

Methods

ScopedHashTableScope<K, V, KInfo, AllocatorTy>(
    ScopedHashTable<K, V, KInfo, AllocatorTy>& HT)

Description

ScopedHashTableScope ctor - Install this as the current scope for the hash table.

Declared at: llvm/include/llvm/ADT/ScopedHashTable.h:97

Parameters

ScopedHashTable<K, V, KInfo, AllocatorTy>& HT

ScopedHashTableScope<K, V, KInfo, AllocatorTy>(
    ScopedHashTableScope<K,
                         V,
                         KInfo,
                         AllocatorTy>&)

Declared at: llvm/include/llvm/ADT/ScopedHashTable.h:98

Parameters

ScopedHashTableScope<K, V, KInfo, AllocatorTy>&

ScopedHashTableVal<K, V>* getLastValInScope()

Declared at: llvm/include/llvm/ADT/ScopedHashTable.h:108

ScopedHashTableScope<K, V, KInfo, AllocatorTy>*
getParentScope()

Declared at: llvm/include/llvm/ADT/ScopedHashTable.h:102

const ScopedHashTableScope<K,
                           V,
                           KInfo,
                           AllocatorTy>*
getParentScope() const

Declared at: llvm/include/llvm/ADT/ScopedHashTable.h:103

void setLastValInScope(
    ScopedHashTableVal<K, V>* Val)

Declared at: llvm/include/llvm/ADT/ScopedHashTable.h:112

Parameters

ScopedHashTableVal<K, V>* Val

~ScopedHashTableScope<K, V, KInfo, AllocatorTy>()

Declared at: llvm/include/llvm/ADT/ScopedHashTable.h:100