From 53793612e3a2f1cadc4f7cbf703bcd94b7121414 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 27 Apr 2023 18:32:20 -0700 Subject: Embed stdlib documentation to AST. (#2851) * Embed stdlib documentation to AST. * Extract documentation for attributes. --------- Co-authored-by: Yong He --- source/slang/slang-check-modifier.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/slang/slang-check-modifier.cpp') diff --git a/source/slang/slang-check-modifier.cpp b/source/slang/slang-check-modifier.cpp index 78a9fd163..61f3f1196 100644 --- a/source/slang/slang-check-modifier.cpp +++ b/source/slang/slang-check-modifier.cpp @@ -780,6 +780,7 @@ namespace Slang attr->keywordName = uncheckedAttr->keywordName; attr->args = uncheckedAttr->args; attr->loc = uncheckedAttr->loc; + attr->attributeDecl = attrDecl; // We will start with checking steps that can be applied independent // of the concrete attribute type that was selected. These only need -- cgit v1.2.3