diff options
| author | ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> | 2025-08-14 14:43:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-14 21:43:42 +0000 |
| commit | cfd08da1036cf72b8e6c6f661260b968f79667e7 (patch) | |
| tree | f4f02a97a2499eb11254869f37c77e3d674673d2 /source/slang/slang-ast-boilerplate.cpp | |
| parent | dd06524f523cdac9c753801ce9c3992f66ae5576 (diff) | |
Clean up `natvis` and use fiddle to generate info needed for `.natvis` debugging (#8192)
fixes: #8188
Changes:
* Fix Indentation
* Add a visualizer for `NodeBase` based on changes to `slang-fiddle`
---------
Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Diffstat (limited to 'source/slang/slang-ast-boilerplate.cpp')
| -rw-r--r-- | source/slang/slang-ast-boilerplate.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-ast-boilerplate.cpp b/source/slang/slang-ast-boilerplate.cpp index 0313d4411..54f5f9bb1 100644 --- a/source/slang/slang-ast-boilerplate.cpp +++ b/source/slang/slang-ast-boilerplate.cpp @@ -18,6 +18,7 @@ struct Helper %for _,T in ipairs(Slang.NodeBase.subclasses) do const SyntaxClassInfo $T::kSyntaxClassInfo = { "$T", + $(T.getDebugVisType), ASTNodeType::$T, $(#T.subclasses), % if T.isAbstract then |
