[all-commits] [llvm/llvm-project] 3485d8: [Clang] Ensure correct template parameter depth fo...

Younan Zhang via All-commits all-commits at lists.llvm.org
Wed Jul 15 02:43:12 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3485d8591992a967553493c53f17d9f3e8a0fc8e
      https://github.com/llvm/llvm-project/commit/3485d8591992a967553493c53f17d9f3e8a0fc8e
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M clang/lib/Parse/ParseDeclCXX.cpp
    M clang/test/SemaCXX/constexpr-late-instantiation.cpp

  Log Message:
  -----------
  [Clang] Ensure correct template parameter depth for abbreviated templates (#209693)

This fixes another case of member functions where we overlooked template
depths when only abbreviated template parameters are involved.

This mirrors previous fix cfb25203c25f, but I don't intend to put it in
ParseTrailingRequiresClause because we might want the similar fix for
e.g. noexcept expressions, so let's keep it inline for future refactor.

The example comes from #205557.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list