[all-commits] [llvm/llvm-project] b3963d: [HLSL][RootSignature] Add parsing for RootFlags (#...

Finn Plummer via All-commits all-commits at lists.llvm.org
Fri May 9 12:40:37 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3963d30a3cd79dc922d5e0561f80ee5d10de1e9
      https://github.com/llvm/llvm-project/commit/b3963d30a3cd79dc922d5e0561f80ee5d10de1e9
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-05-09 (Fri, 09 May 2025)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/include/clang/Lex/HLSLRootSignatureTokenKinds.def
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Lex/LexHLSLRootSignatureTest.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h

  Log Message:
  -----------
  [HLSL][RootSignature] Add parsing for RootFlags (#138055)

- defines the `RootFlags` in-memory enum
- defines `parseRootFlags` to parse the various flag enums into a single
`uint32_t`
- adds corresponding unit tests

- improves the diagnostic message for when we provide a non-zero integer
value to the flags

Resolves https://github.com/llvm/llvm-project/issues/126575



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