[all-commits] [llvm/llvm-project] ffed7f: [clang] fix matching of nested template template p...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Wed Mar 12 05:16:53 PDT 2025


  Branch: refs/heads/users/mizvekov/GH130362
  Home:   https://github.com/llvm/llvm-project
  Commit: ffed7fe255d7fa612367d9c128d71f204c5cd9e6
      https://github.com/llvm/llvm-project/commit/ffed7fe255d7fa612367d9c128d71f204c5cd9e6
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-03-12 (Wed, 12 Mar 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/test/SemaTemplate/cwg2398.cpp
    M clang/test/SemaTemplate/temp_arg_template_p0522.cpp
    M clang/unittests/AST/DeclPrinterTest.cpp

  Log Message:
  -----------
  [clang] fix matching of nested template template parameters

When checking the template template parameters of template template
parameters, the PartialOrdering context was not correctly propagated.

This also has a few drive-by fixes, such as checking the template parameter
lists of template template parameters, which was previously missing and
would have been it's own bug, but we need to fix it in order to
prevent crashes in error recovery in a simple way.

Fixes #130362

Backport of: https://github.com/llvm/llvm-project/pull/130447



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