[cfe-commits] r110314 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaExpr.cpp test/SemaCXX/warn-for-var-in-else.cpp

Chris Lattner clattner at apple.com
Thu Aug 5 23:31:33 PDT 2010

On Aug 5, 2010, at 10:45 PM, Nick Lewycky wrote:

>> This is an unfortunate thing to remove, but if you're going to do it, please remove isDeclaredInCondition and the other code that supports this warning but is now dead.
> Great point, done. Also, I filed PR7823 for the useful parts of this warning, with cautions about how to implement it to avoid the same problems.

What about Scope::ElseScope and the code that feeds it?

More information about the cfe-commits mailing list