View source code
							
							
						
								Display the source code in dmd/expression.d from which this
								page was generated on github.
							
						
							Report a bug
							
						
								If you spot a problem with this page, click here to create a
								Bugzilla issue.
							
						
							
								Improve this page
							
							
					
								Quickly fork, edit online, and submit a pull request for this page.
								Requires a signed-in GitHub account. This works well for small changes.
								If you'd like to make larger changes you may want to consider using
								local clone.
							
						Function dmd.expression.Expression.checkOverriddenDtor
Checks whether f is a generated DtorDeclaration that hides a user-defined one
 which passes check while f doesn't (e.g. when the user defined dtor is pure but
 the generated dtor is not).
 In that case the method will identify and print all members causing the attribute
 missmatch.
						
				final void checkOverriddenDtor
				(
				
				  dmd
				  FuncDeclaration f,
				
				  scope bool function(DtorDeclaration) check,
				
				  const(string) checkName
				
				);
						
					
				Parameters
| Name | Description | 
|---|---|
| sc | scope | 
| f | potential DtorDeclaration | 
| check | current check (e.g. whether it's pure) | 
| checkName | the kind of check (e.g. "pure") | 
Authors
License
					Copyright © 1999-2024 by the D Language Foundation | Page generated by ddox.