[all-commits] [llvm/llvm-project] d98746: [DirectX] Remove custom error classes from RootSig...

joaosaffran via All-commits all-commits at lists.llvm.org
Wed Oct 8 11:17:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d987465f47ec6460a4865238232a4f59072ef4b8
      https://github.com/llvm/llvm-project/commit/d987465f47ec6460a4865238232a4f59072ef4b8
  Author: joaosaffran <joaosaffranllvm at gmail.com>
  Date:   2025-10-08 (Wed, 08 Oct 2025)

  Changed paths:
    M llvm/include/llvm/Frontend/HLSL/RootSignatureMetadata.h
    M llvm/lib/Frontend/HLSL/RootSignatureMetadata.cpp

  Log Message:
  -----------
  [DirectX] Remove custom error classes from RootSignature Metadata parser  (#161921)

We have too many custom error classes that look too much alike when
error handling root signature metadata parser. This PR removes those
custom error classes and instead reuses `StringError` and a few
pre-formatted error messages.

Closes: [#159429](https://github.com/llvm/llvm-project/issues/159429)

---------

Co-authored-by: joaosaffran <joao.saffran at microsoft.com>



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