[cfe-commits] r126286 - in /cfe/trunk: include/clang/Sema/Sema.h lib/Sema/SemaChecking.cpp lib/Sema/SemaExpr.cpp lib/Sema/SemaStmt.cpp

Ted Kremenek kremenek at apple.com
Tue Feb 22 18:30:59 PST 2011


They aren't, but they shouldn't be reported in 'sizeof' expressions either.  DiagRuntimeBehavior also culls out those cases.

On Feb 22, 2011, at 6:30 PM, Chris Lattner wrote:

> 
> On Feb 22, 2011, at 6:27 PM, Ted Kremenek wrote:
> 
>> I'll update with comments.  The Stmt* is optional because we don't want to always result to using the reachability analysis to prune warnings (e.g., "unused value" warnings).
> 
> Unused value warnings aren't "runtime behavior" warnings though, right?
> 
> -Chris





More information about the cfe-commits mailing list