diff options
| author | Yong He <yonghe@outlook.com> | 2022-08-22 09:43:05 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-22 09:43:05 -0700 |
| commit | 393185196ed65a9eeaf9502edbf3dcce87337d81 (patch) | |
| tree | 91c9fa14ddb21d15e6cedf83f7aa6b649e99db86 /source/slang/slang.natvis | |
| parent | 15055d20c143cb398bd3e269541eebf24777390a (diff) | |
Support compile-time constant int val in the form of polynomials. (#2372)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang.natvis')
| -rw-r--r-- | source/slang/slang.natvis | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/source/slang/slang.natvis b/source/slang/slang.natvis index d56fa885d..4d5bad2d3 100644 --- a/source/slang/slang.natvis +++ b/source/slang/slang.natvis @@ -447,10 +447,28 @@ <ExpandedItem Condition="astNodeType == Slang::ASTNodeType::ThisType">(Slang::ThisType*)&astNodeType</ExpandedItem> <ExpandedItem Condition="astNodeType == Slang::ASTNodeType::AndType">(Slang::AndType*)&astNodeType</ExpandedItem> <ExpandedItem Condition="astNodeType == Slang::ASTNodeType::ModifiedType">(Slang::ModifiedType*)&astNodeType</ExpandedItem> + <Item Name="[Type]">(Slang::Type*)this,nd</Item> </Expand> </Type> + <Type Name="Slang::Substitutions"> + <DisplayString>{astNodeType}</DisplayString> + <Expand> + <ExpandedItem Condition="astNodeType == Slang::ASTNodeType::GenericSubstitution">(Slang::GenericSubstitution*)&astNodeType</ExpandedItem> + <ExpandedItem Condition="astNodeType == Slang::ASTNodeType::ThisTypeSubstitution">(Slang::ThisTypeSubstitution*)&astNodeType</ExpandedItem> + </Expand> + </Type> + <Type Name="Slang::SubstitutionSet"> + <DisplayString>{astNodeType}</DisplayString> + <Expand> + <LinkedListItems> + <HeadPointer>substitutions</HeadPointer> + <NextPointer>outer</NextPointer> + <ValueNode>this</ValueNode> + </LinkedListItems> + </Expand> + </Type> <Type Name="Slang::AggTypeDecl"> <DisplayString>{nameAndLoc.name}: {astNodeType}</DisplayString> <Expand> |
