[clang] [clang] Look through alias templates when visiting dependent base classes (PR #223713)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 16 06:19:42 PDT 2026


================
@@ -851,6 +793,11 @@ features cannot lower the translation-unit ABI level;
 
 ### Code Completion
 
+- Members inherited from a dependent base class that is named through an alias
+  template are now offered. Previously such a base was skipped entirely, so for
+  example a dependent `std::allocator<T>`, which derives from the alias template
+  `__allocator_base<T>`, offered none of the members it inherits.
+
----------------
cor3ntin wrote:

```suggestion
- Members inherited from a dependent base class that is named through an alias
  template are suggested by code completion when relevant.

```

https://github.com/llvm/llvm-project/pull/223713


More information about the cfe-commits mailing list