Skip to content

Commit 5d23610

Browse files
[ADT] Fix a comment in ScopedHashTable (#165116)
This patch replaces "typedef" with "type alias" in the comment while making it more concise.
1 parent 5a6c236 commit 5d23610

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/ADT/ScopedHashTable.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ class ScopedHashTable : detail::AllocatorHolder<AllocatorTy> {
151151
using AllocTy = detail::AllocatorHolder<AllocatorTy>;
152152

153153
public:
154-
/// ScopeTy - This is a helpful typedef that allows clients to get easy access
155-
/// to the name of the scope for this hash table.
154+
/// ScopeTy - A type alias for easy access to the name of the scope for this
155+
/// hash table.
156156
using ScopeTy = ScopedHashTableScope<K, V, KInfo, AllocatorTy>;
157157
using size_type = unsigned;
158158

0 commit comments

Comments
 (0)