Shadowing of members
Jacob Carlborg
doob at me.com
Wed Jan 16 04:05:48 PST 2013
On 2013-01-16 12:17, mist wrote:
> Yes and this is the very difference between compiler and static analysis
> tool, in my opinion. Compiler should never ever reject valid use cases,
> it does not matter how small chance of meeting those is.
Clang contains a ton of warnings for code that could contain common
errors. I mean, there's nothing wrong in having unreferenced variables
but there are still compilers that warn about this.
Also not that Clang has a static analyzer, in addition to the warnings
and errors in the compiler.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list