From 09408e32d7c0ccebf38fe31b5d2ddf4b1cd128e4 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 13 Oct 2022 20:31:30 -0700 Subject: Allow multi-level breaks to break out of `switch` statements. (#2451) * Allow multi-level breaks to break out of `switch` statements. * Rename loop->region. * Add `[ForceInline]` attribute. Co-authored-by: Yong He --- source/slang/core.meta.slang | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/slang/core.meta.slang') diff --git a/source/slang/core.meta.slang b/source/slang/core.meta.slang index b54c70236..1711102da 100644 --- a/source/slang/core.meta.slang +++ b/source/slang/core.meta.slang @@ -2711,6 +2711,9 @@ attribute_syntax [__extern] : ExternAttribute; __attributeTarget(FunctionDeclBase) attribute_syntax [__unsafeForceInlineEarly] : UnsafeForceInlineEarlyAttribute; +__attributeTarget(FunctionDeclBase) +attribute_syntax [ForceInline] : ForceInlineAttribute; + __attributeTarget(FuncDecl) attribute_syntax [DllImport(modulePath: String)] : DllImportAttribute; -- cgit v1.2.3