[all-commits] [llvm/llvm-project] 209d8c: [clang] fix unresolved dependent template speciali...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Thu Apr 17 14:40:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 209d8c8fa4fe16ef41003da17387f7c271002668
      https://github.com/llvm/llvm-project/commit/209d8c8fa4fe16ef41003da17387f7c271002668
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-04-17 (Thu, 17 Apr 2025)

  Changed paths:
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/test/CodeGenCXX/mangle-template.cpp

  Log Message:
  -----------
  [clang] fix unresolved dependent template specialization mangling (#136201)

This fixes a regression introduced in #133610 which was reported here
#133610 (comment) and in #136119

This redoes previous attempt in #135111

When mangling a DTST which appears in the prefix,
the template name is not actually relevant, as its prefix is part of the
nested name anyway, and a
substitution is not allowed at that position in any case.

Fixes #136119



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