From bc6bc56db51d06b92dc63ef9c9e0def6c9760c9e Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 1 Jun 2022 22:29:10 -0700 Subject: Clean up void returns. (#2260) * Clean up `IRReturnVoid`. * Update gitignore. Co-authored-by: Yong He --- source/slang/slang-syntax.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/slang/slang-syntax.h') diff --git a/source/slang/slang-syntax.h b/source/slang/slang-syntax.h index b4463a77d..332661e12 100644 --- a/source/slang/slang-syntax.h +++ b/source/slang/slang-syntax.h @@ -170,7 +170,7 @@ namespace Slang } else { - return astBuilder->getVoidType(); + return astBuilder->getBottomType(); } } -- cgit v1.2.3