summaryrefslogtreecommitdiff
path: root/source/slang/slang.natvis
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-08-22 09:43:05 -0700
committerGitHub <noreply@github.com>2022-08-22 09:43:05 -0700
commit393185196ed65a9eeaf9502edbf3dcce87337d81 (patch)
tree91c9fa14ddb21d15e6cedf83f7aa6b649e99db86 /source/slang/slang.natvis
parent15055d20c143cb398bd3e269541eebf24777390a (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.natvis18
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*)&amp;astNodeType</ExpandedItem>
<ExpandedItem Condition="astNodeType == Slang::ASTNodeType::AndType">(Slang::AndType*)&amp;astNodeType</ExpandedItem>
<ExpandedItem Condition="astNodeType == Slang::ASTNodeType::ModifiedType">(Slang::ModifiedType*)&amp;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*)&amp;astNodeType</ExpandedItem>
+ <ExpandedItem Condition="astNodeType == Slang::ASTNodeType::ThisTypeSubstitution">(Slang::ThisTypeSubstitution*)&amp;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>