From d866c0b9dfc0fdc8ad8cede4d7a8593f7ddf4716 Mon Sep 17 00:00:00 2001 From: Sai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com> Date: Mon, 16 Sep 2024 16:04:45 -0400 Subject: Add API method to specialize function reference with argument types (#4966) * Add `FunctionReflection::specializeWithArgTypes()` * Update slang.cpp * Use a shared semantics context on linkage Improve performance on reflection queries * Try to fix linux/mac compile errors --- source/slang/slang-check-impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/slang-check-impl.h') diff --git a/source/slang/slang-check-impl.h b/source/slang/slang-check-impl.h index dc4568f8a..ad3539a21 100644 --- a/source/slang/slang-check-impl.h +++ b/source/slang/slang-check-impl.h @@ -598,7 +598,7 @@ namespace Slang }; /// Shared state for a semantics-checking session. - struct SharedSemanticsContext + struct SharedSemanticsContext : public RefObject { Linkage* m_linkage = nullptr; -- cgit v1.2.3