mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 17:33:29 +00:00
add a handy typedef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122726 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f19745947d
commit
152096275a
@ -157,6 +157,11 @@ public:
|
|||||||
assert(CurScope == 0 && TopLevelMap.empty() && "Scope imbalance!");
|
assert(CurScope == 0 && TopLevelMap.empty() && "Scope imbalance!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// ScopeTy - This is a helpful typedef that allows clients to get easy access
|
||||||
|
/// to the name of the scope for this hash table.
|
||||||
|
typedef ScopedHashTableScope<K, V, KInfo, AllocatorTy> ScopeTy;
|
||||||
|
|
||||||
|
/// Access to the allocator.
|
||||||
typedef typename ReferenceAdder<AllocatorTy>::result AllocatorRefTy;
|
typedef typename ReferenceAdder<AllocatorTy>::result AllocatorRefTy;
|
||||||
typedef typename ReferenceAdder<const AllocatorTy>::result AllocatorCRefTy;
|
typedef typename ReferenceAdder<const AllocatorTy>::result AllocatorCRefTy;
|
||||||
AllocatorRefTy getAllocator() { return Allocator; }
|
AllocatorRefTy getAllocator() { return Allocator; }
|
||||||
|
Loading…
Reference in New Issue
Block a user