StaticIfElse

Checks for potentially mistaken static if / else if.

It's potentially valid to write:

static if (foo) {
} else if (bar) {
}

However, it's more likely that this is a mistake.

class StaticIfElse : BaseAnalyzer {
enum KEY;
}

Inherited Members

From BaseAnalyzer

visit
void visit(const Unittest unittest_)

Visits a unittest.

fileName
string fileName;

The file name

Meta