[all-commits] [llvm/llvm-project] cc49f3: [NFC][HLSL] Remove confusing enum aliases / duplic...

Damyan Pepper via All-commits all-commits at lists.llvm.org
Mon Aug 18 08:58:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cc49f3b3e1ddb77ebd888ef87c3b0e87c69e201b
      https://github.com/llvm/llvm-project/commit/cc49f3b3e1ddb77ebd888ef87c3b0e87c69e201b
  Author: Damyan Pepper <damyanp at microsoft.com>
  Date:   2025-08-18 (Mon, 18 Aug 2025)

  Changed paths:
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h
    M llvm/lib/Frontend/HLSL/HLSLRootSignature.cpp
    M llvm/lib/Frontend/HLSL/RootSignatureMetadata.cpp
    M llvm/unittests/Frontend/HLSLRootSignatureDumpTest.cpp

  Log Message:
  -----------
  [NFC][HLSL] Remove confusing enum aliases / duplicates (#153909)

Remove:

* DescriptorType enum - this almost exactly shadowed the ResourceClass
enum
* ClauseType aliased ResourceClass

Although these were introduced to make the HLSL root signature handling
code a bit cleaner, they were ultimately causing confusion as they
appeared to be unique enums that needed to be converted between each
other.

Closes #153890



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