[all-commits] [llvm/llvm-project] 2ce6fc: [IR] Fix invalid debug metadata diagnostic kind (#...

Reid Kleckner via All-commits all-commits at lists.llvm.org
Wed Jun 24 16:52:54 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ce6fc677fdb7a7c04b71bb1734ba856d62e7d79
      https://github.com/llvm/llvm-project/commit/2ce6fc677fdb7a7c04b71bb1734ba856d62e7d79
  Author: Reid Kleckner <rkleckner at nvidia.com>
  Date:   2026-06-24 (Wed, 24 Jun 2026)

  Changed paths:
    M llvm/include/llvm/IR/DiagnosticInfo.h
    M llvm/unittests/IR/CMakeLists.txt
    A llvm/unittests/IR/DiagnosticInfoTest.cpp

  Log Message:
  -----------
  [IR] Fix invalid debug metadata diagnostic kind (#205648)

This type is only ever passed to LLVMContext::diagnose directly, and
there are no downcasts to this type, so classof is effectively dead, but
we should fix this oversight.

Fixes #205340



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