Skip to content

Conversation

@kazutakahirata
Copy link
Contributor

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

This patch replaces "typedef" with "type alias" in the comment while
making it more concise.
@llvmbot
Copy link
Member

llvmbot commented Oct 25, 2025

@llvm/pr-subscribers-llvm-adt

Author: Kazu Hirata (kazutakahirata)

Changes

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 --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;
 

@kazutakahirata kazutakahirata merged commit 5d23610 into llvm:main Oct 25, 2025
12 checks passed
@kazutakahirata kazutakahirata deleted the cleanup_20251025_ADT_ScopedHashTable_comment branch October 25, 2025 22:46
dvbuka pushed a commit to dvbuka/llvm-project that referenced this pull request Oct 27, 2025
This patch replaces "typedef" with "type alias" in the comment while
making it more concise.
Lukacma pushed a commit to Lukacma/llvm-project that referenced this pull request Oct 29, 2025
This patch replaces "typedef" with "type alias" in the comment while
making it more concise.
aokblast pushed a commit to aokblast/llvm-project that referenced this pull request Oct 30, 2025
This patch replaces "typedef" with "type alias" in the comment while
making it more concise.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants