|
LLVM 23.0.0git
|
#include "llvm/ADT/ScopedHashTable.h"
Public Member Functions | |
| ScopedHashTableScope (ScopedHashTable< K, V, KInfo, AllocatorTy > &HT) | |
| ScopedHashTableScope (ScopedHashTableScope &)=delete | |
| ScopedHashTableScope & | operator= (ScopedHashTableScope &)=delete |
| ~ScopedHashTableScope () | |
| ScopedHashTableScope * | getParentScope () |
| const ScopedHashTableScope * | getParentScope () const |
| void | erase (const K &key) |
| This method undoes the latest binding of the given key, effectively reverting to the previous state for that key. | |
Friends | |
| class | ScopedHashTable< K, V, KInfo, AllocatorTy > |
Definition at line 104 of file ScopedHashTable.h.
| llvm::ScopedHashTableScope< K, V, KInfo, AllocatorTy >::ScopedHashTableScope | ( | ScopedHashTable< K, V, KInfo, AllocatorTy > & | HT | ) |
|
delete |
| llvm::ScopedHashTableScope< K, V, KInfo, Allocator >::~ScopedHashTableScope | ( | ) |
Definition at line 257 of file ScopedHashTable.h.
References assert(), and llvm::ScopedHashTableVal< K, V >::getNextForKey().
| void llvm::ScopedHashTableScope< K, V, KInfo, Allocator >::erase | ( | const K & | Key | ) |
This method undoes the latest binding of the given key, effectively reverting to the previous state for that key.
In the example at the beginning of this file, if we execute HT.erase(0) immediately after HT.insert(0, 42);, then the value associated with key "0" reverts to 0. This value is owned by "Scope1(HT)".
Definition at line 288 of file ScopedHashTable.h.
References llvm::ScopedHashTableVal< K, V >::erase(), llvm::ScopedHashTableVal< K, V >::getNextForKey(), llvm::ScopedHashTableVal< K, V >::getNextInScope(), and llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key.
|
inline |
Definition at line 121 of file ScopedHashTable.h.
|
inline |
Definition at line 122 of file ScopedHashTable.h.
|
delete |
|
friend |
Definition at line 123 of file ScopedHashTable.h.