[clang] [NFC][HLSL] Move Sema work from `ParseMicrosoftRootSignatureAttributeArgs` (PR #143184)

Helena Kotas via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 6 16:20:19 PDT 2025


================
@@ -3619,6 +3619,19 @@ class Sema final : public SemaBase {
                                       SourceLocation NameLoc,
                                       bool IsTemplateTypeArg);
 
+  /// Computes the unique Root Signature identifier from the given signature,
----------------
hekota wrote:

It might be better to have these on `SemaHLSL`. If that too complicated, please include `HLSL` in the name to make it clear that it is HLSL-specific: `ActOnStartHLSLRootSignatureDecl` and `ActOnFinishHLSLRootSignatureDecl`.



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


More information about the cfe-commits mailing list