[all-commits] [llvm/llvm-project] 3ffd3e: [clang] don't print redundant context notes when i...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Sat Oct 4 18:09:23 PDT 2025


  Branch: refs/heads/users/mizvekov/fix-template-alias-inst-redundant-note
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ffd3e4bdb9208bbfa16a4029680f6f42f6bd703
      https://github.com/llvm/llvm-project/commit/3ffd3e4bdb9208bbfa16a4029680f6f42f6bd703
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-10-04 (Sat, 04 Oct 2025)

  Changed paths:
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateInstantiate.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/test/SemaTemplate/alias-template-deprecated.cpp
    M clang/test/SemaTemplate/alias-templates.cpp

  Log Message:
  -----------
  [clang] don't print redundant context notes when instantiating alias templates

The redundant notes were introduced with the workaround for finding
the template instantiationa args for lambdas inside template type aliases.

This removes the notes for the cases where we are simply instantiating an
outer template, and when diagnosing uses of the alias template.

Also adds comments calling the workaround explicitly.



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