[clang] [llvm] [HLSL][RootSignature] Add parsing for empty RootConstants (PR #137999)

via cfe-commits cfe-commits at lists.llvm.org
Thu May 1 09:47:01 PDT 2025


================
@@ -252,6 +252,32 @@ TEST_F(ParseHLSLRootSignatureTest, ValidSamplerFlagsTest) {
   ASSERT_TRUE(Consumer->isSatisfied());
 }
 
+TEST_F(ParseHLSLRootSignatureTest, ValidParseRootConsantsTest) {
----------------
joaosaffran wrote:

```suggestion
TEST_F(ParseHLSLRootSignatureTest, ValidParseRootConstantsTest) {
```

nit: Also, shouldn't this be, `ValidParseEmptyRootConstantsTest`, then we add more tests later on ?

https://github.com/llvm/llvm-project/pull/137999


More information about the cfe-commits mailing list