summaryrefslogtreecommitdiff
path: root/source/slang/slang-syntax.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-04-26 22:40:06 -0700
committerGitHub <noreply@github.com>2023-04-26 22:40:06 -0700
commit7be108c379ccc7da3f46b30a2b5917104155d52b (patch)
treeb38b6d5483ba63b18d38c282c06dd55ff9c188ea /source/slang/slang-syntax.h
parent3acbe8145c60f4d1e7a180b4602a94269a489df5 (diff)
Intellisense: show info on decl kind and differentiability. (#2847)
Diffstat (limited to 'source/slang/slang-syntax.h')
-rw-r--r--source/slang/slang-syntax.h2
1 files changed, 2 insertions, 0 deletions
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