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

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Sun Oct 5 13:58:47 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a2f29dd0ccbb378a7c0698a51f3dc42ee615ff4
      https://github.com/llvm/llvm-project/commit/4a2f29dd0ccbb378a7c0698a51f3dc42ee615ff4
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-10-05 (Sun, 05 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 (#161986)

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