DeprecatedDeclaration.newScope

Provides a new scope with STC.deprecated_ and Scope.depdecl set

Calls StorageClassDeclaration.newScope (as it must be called or copied in any function overriding newScope), then set the Scope's depdecl.

class DeprecatedDeclaration
override
newScope

Return Value

Type: Scope*

Always a new scope, to use for this DeprecatedDeclaration's members.

Meta