On Wednesday, January 16, 2013 13:53:04 mist wrote:Well, that is probably the only thing I hate in Clang :) Also, I can't imagine a single valid use case for unreferenced variablesin C/C++, so it is a bit different.RAII. - Jonathan M Davis
Have just checked it - clang does not treat variable as unused if it does have use-defined destructor. Which makes sense from my understanding of word "unused".
