FunctionAttributeCheck

Prefer

int getStuff() const {}

to

const int getStuff() {}

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(InterfaceDeclaration dec)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(ClassDeclaration dec)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(AttributeDeclaration dec)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(FunctionDeclaration dec)
Undocumented in source. Be warned that the author may not have intended to support it.
visit
void visit(Declaration dec)
Undocumented in source. Be warned that the author may not have intended to support it.

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