From 7be108c379ccc7da3f46b30a2b5917104155d52b Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 26 Apr 2023 22:40:06 -0700 Subject: Intellisense: show info on decl kind and differentiability. (#2847) --- source/slang/slang-syntax.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/slang/slang-syntax.h') diff --git a/source/slang/slang-syntax.h b/source/slang/slang-syntax.h index dd119cf3a..3ac258f08 100644 --- a/source/slang/slang-syntax.h +++ b/source/slang/slang-syntax.h @@ -337,6 +337,8 @@ namespace Slang /// Get the parent decl, skipping any generic decls in between. Decl* getParentDecl(Decl* decl); + Decl* getParentFunc(Decl* decl); + } // namespace Slang #endif -- cgit v1.2.3