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

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Sat Oct 4 17:58:01 PDT 2025


  Branch: refs/heads/users/mizvekov/fix-template-alias-inst-redundant-note
  Home:   https://github.com/llvm/llvm-project
  Commit: 8530264dd16b26afaf018bcbcdff7772d9e9ea3e
      https://github.com/llvm/llvm-project/commit/8530264dd16b26afaf018bcbcdff7772d9e9ea3e
  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