[llvm] [ADT] Fix a comment in ScopedHashTable (PR #165116)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sat Oct 25 13:26:08 PDT 2025
    
    
  
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-adt
Author: Kazu Hirata (kazutakahirata)
<details>
<summary>Changes</summary>
This patch replaces "typedef" with "type alias" in the comment while
making it more concise.
---
Full diff: https://github.com/llvm/llvm-project/pull/165116.diff
1 Files Affected:
- (modified) llvm/include/llvm/ADT/ScopedHashTable.h (+2-2) 
``````````diff
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;
 
``````````
</details>
https://github.com/llvm/llvm-project/pull/165116
    
    
More information about the llvm-commits
mailing list