ObjectConstCheck

Checks that opEquals, opCmp, toHash, 'opCast', and toString are either const, immutable, or inout.

Constructors

this
this(string fileName, const(Scope)* sc)
Undocumented in source.

Members

Aliases

visit
alias visit = BaseAnalyzer.visit
Undocumented in source.

Functions

visit
void visit(Declaration d)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin visitTemplate!ClassDeclaration
Undocumented in source.
__anonymous
mixin visitTemplate!UnionDeclaration
Undocumented in source.
__anonymous
mixin visitTemplate!InterfaceDeclaration
Undocumented in source.
__anonymous
mixin visitTemplate!StructDeclaration
Undocumented in source.

Inherited Members

From BaseAnalyzer

messages
Message[] messages()
Undocumented in source. Be warned that the author may not have intended to support it.
inAggregate
bool inAggregate;
Undocumented in source.
visitTemplate
template visitTemplate(T)
Undocumented in source.
addErrorMessage
void addErrorMessage(size_t line, size_t column, string key, string message)
Undocumented in source. Be warned that the author may not have intended to support it.
fileName
string fileName;

The file name

sc
const(Scope)* sc;
Undocumented in source.
_messages
MessageSet _messages;
Undocumented in source.

Meta