[all-commits] [llvm/llvm-project] c4a1e0: [clang] Remove redundant integer values in templat...

Richard Trieu via All-commits all-commits at lists.llvm.org
Sun Dec 1 20:11:35 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4a1e0efe6b0767dfb5861a7e8814d7db0c0de8a
      https://github.com/llvm/llvm-project/commit/c4a1e0efe6b0767dfb5861a7e8814d7db0c0de8a
  Author: Richard Trieu <57020969+Weverything at users.noreply.github.com>
  Date:   2024-12-01 (Sun, 01 Dec 2024)

  Changed paths:
    M clang/lib/AST/ASTDiagnostic.cpp
    M clang/test/Misc/diag-template-diffing-cxx98.cpp

  Log Message:
  -----------
  [clang] Remove redundant integer values in template type diffing

Look through SubstNonTypeTemplateParmExpr to find an IntegerLiteral
node when attempting to determine if extra info is printed via
the aka mechanism.  This will avoid printing types such as
"array<5 aka 5>" and will only show "array<5>".



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