[all-commits] [llvm/llvm-project] 84bc22: DiagnosticPrinter: Use printAsOperand to handle an...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Dec 11 00:16:47 PST 2024


  Branch: refs/heads/users/arsenm/diagnostic-printer-use-print-as-operand
  Home:   https://github.com/llvm/llvm-project
  Commit: 84bc22ed7336b4ddba90b89673500afd5ce19494
      https://github.com/llvm/llvm-project/commit/84bc22ed7336b4ddba90b89673500afd5ce19494
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

  Changed paths:
    M llvm/lib/IR/DiagnosticPrinter.cpp

  Log Message:
  -----------
  DiagnosticPrinter: Use printAsOperand to handle anonymous values

To avoid changing the behavior in the general case, only do this
for anonymous functions. Otherwise, we'll end up with a leading
'@' on the name, which may not be meaningful to end users.



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