[all-commits] [llvm/llvm-project] 6bcef5: Ensure we disambiguate NTTP names when doing Templ...

Erich Keane via All-commits all-commits at lists.llvm.org
Thu Sep 21 13:28:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bcef543e3a31da26b0164ba4ed6e79e8f0a72c3
      https://github.com/llvm/llvm-project/commit/6bcef543e3a31da26b0164ba4ed6e79e8f0a72c3
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2023-09-21 (Thu, 21 Sep 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ASTDiagnostic.cpp
    A clang/test/AST/ast-nttp-template-tree-compares.cpp
    M clang/test/SemaCXX/cxx2a-nttp-printing.cpp

  Log Message:
  -----------
  Ensure we disambiguate NTTP names when doing TemplateTree comparisons

835b99e4c did this when we printed the NTTPs while NOT doing a
TemplateTree comparison, this does the same change for the TemplateTree
mechanism as well, amking the diagnostics less confusing in these cases.

Fixes: #66744




More information about the All-commits mailing list