From 3c2d46aa1c8575dc046d7457793e77c7a4789093 Mon Sep 17 00:00:00 2001 From: Anders Leino Date: Tue, 11 Feb 2025 02:42:08 +0200 Subject: Remove the docs/proposals directory (#6313) * Remove the docs/proposals directory This directory will get added to the spec repository in the following PR: https://github.com/shader-slang/spec/pull/6 This closes #6155. * Remove entry from .github/CODEOWNERS file * Redirect some proposal references --------- Co-authored-by: Yong He --- source/slang/slang-check-decl.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'source') diff --git a/source/slang/slang-check-decl.cpp b/source/slang/slang-check-decl.cpp index 39ab41421..2ce4f81f1 100644 --- a/source/slang/slang-check-decl.cpp +++ b/source/slang/slang-check-decl.cpp @@ -12322,15 +12322,16 @@ static Expr* _getParamDefaultValue(SemanticsVisitor* visitor, VarDeclBase* varDe bool SemanticsDeclAttributesVisitor::_synthesizeCtorSignature(StructDecl* structDecl) { // If a type or its base type already defines any explicit constructors, do not synthesize any - // constructors. see: - // https://github.com/shader-slang/slang/blob/master/docs/proposals/004-initialization.md#inheritance-initialization + // constructors. + // See + // https://github.com/shader-slang/spec/blob/main/proposals/004-initialization.md#inheritance-initialization if (_hasExplicitConstructor(structDecl, true)) return false; // synthesize the signature first. // The constructor's visibility level is the same as the struct itself. - // See: - // https://github.com/shader-slang/slang/blob/master/docs/proposals/004-initialization.md#synthesis-of-constructors-for-member-initialization + // See + // https://github.com/shader-slang/spec/blob/main/proposals/004-initialization.md#synthesis-of-constructors-for-member-initialization DeclVisibility ctorVisibility = getDeclVisibility(structDecl); // Only the members whose visibility level is higher or equal than the -- cgit v1.2.3