-
Couldn't load subscription status.
- Fork 15k
Labels
HLSLHLSL Language SupportHLSL Language Supportclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"
Description
This issue handles "plugging-in" the root signature parser into the generation of the AST node. It consists of initializing an HLSLRootSignatureAttr with the parsed HLSLRootElements.
Root signatures are defined as a list of "root elements" and so the in-memory representation will retain this form.
This is dependent on #120472.
AC:
- Define
HLSLRootSignatureAttrinAttr.td - Use
AdditionalMembersto hold an ArrayRef ofHLSLRootElements - Define
handleHLSLRootSignatureinSemaHLSL.h - Implement
handleHLSLRootSignatureinSemaHLSL.cppto simply invoke the parser and construct the Root Elements on the ASTContext, then set theAdditionalMembersto refence that - Add test of a practical root signature example generated AST with
ast-dumpinAST/HLSL/RootSignatures-AST.hlsl
Metadata
Metadata
Assignees
Labels
HLSLHLSL Language SupportHLSL Language Supportclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"
Type
Projects
Status
Closed