summaryrefslogtreecommitdiffstats
path: root/source/core
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-11-16 12:17:49 -0800
committerGitHub <noreply@github.com>2022-11-16 12:17:49 -0800
commit801aa3b44254341018a1acbe754f2ce3b0900e2a (patch)
treeb3066778522edb99bf64c0ac80c91b0b4cb788f8 /source/core
parent09d8e048d2264d89886cda8e87e8a452d4f913c1 (diff)
Clean up type checking of higher order expressions. (#2519)
* Clean up type checking of higher order expressions. * Replace `goto` with `break` to pacify clang. * Fix. * Fixes. * Fix more tests. * Fix lowerWitnessTable parameter error. * Exclude attributes from ast printing. Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/core')
-rw-r--r--source/core/core.natvis12
1 files changed, 11 insertions, 1 deletions
diff --git a/source/core/core.natvis b/source/core/core.natvis
index 08446db8d..d9035e8ba 100644
--- a/source/core/core.natvis
+++ b/source/core/core.natvis
@@ -100,7 +100,17 @@
</LinkedListItems>
</Expand>
</Type>
-
+ <Type Name="Slang::OrderedDictionary&lt;*,*&gt;">
+ <DisplayString>{{ size={_count} }}</DisplayString>
+ <Expand>
+ <LinkedListItems>
+ <Size>_count</Size>
+ <HeadPointer>kvPairs.head</HeadPointer>
+ <NextPointer>next</NextPointer>
+ <ValueNode>Value</ValueNode>
+ </LinkedListItems>
+ </Expand>
+ </Type>
<Type Name="Slang::RefPtr&lt;*&gt;">
<SmartPointer Usage="Minimal">pointer</SmartPointer>
<DisplayString Condition="pointer == 0">empty</DisplayString>