if statements can be const expr evaluated

also introduce error for unnecessary if statement
but if the condition depends on a compile variable, then
the if statement is OK
d8f6388b63Andrew Kelley committed on 2/10/2016, 1:53:28 AMparentf45c374
7 files changedLine totals unavailable