[llvm] 5d23610 - [ADT] Fix a comment in ScopedHashTable (#165116)

via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 25 15:46:40 PDT 2025


Author: Kazu Hirata
Date: 2025-10-25T15:46:36-07:00
New Revision: 5d23610ed59c816bf0977554eb9aadc6b4d95180

URL: https://github.com/llvm/llvm-project/commit/5d23610ed59c816bf0977554eb9aadc6b4d95180
DIFF: https://github.com/llvm/llvm-project/commit/5d23610ed59c816bf0977554eb9aadc6b4d95180.diff

LOG: [ADT] Fix a comment in ScopedHashTable (#165116)

This patch replaces "typedef" with "type alias" in the comment while
making it more concise.

Added: 
    

Modified: 
    llvm/include/llvm/ADT/ScopedHashTable.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ADT/ScopedHashTable.h b/llvm/include/llvm/ADT/ScopedHashTable.h
index 78d4df7d56845..97d15463fdfd7 100644
--- a/llvm/include/llvm/ADT/ScopedHashTable.h
+++ b/llvm/include/llvm/ADT/ScopedHashTable.h
@@ -151,8 +151,8 @@ class ScopedHashTable : detail::AllocatorHolder<AllocatorTy> {
   using AllocTy = detail::AllocatorHolder<AllocatorTy>;
 
 public:
-  /// ScopeTy - This is a helpful typedef that allows clients to get easy access
-  /// to the name of the scope for this hash table.
+  /// ScopeTy - A type alias for easy access to the name of the scope for this
+  /// hash table.
   using ScopeTy = ScopedHashTableScope<K, V, KInfo, AllocatorTy>;
   using size_type = unsigned;
 


        


More information about the llvm-commits mailing list