[cfe-commits] r124668 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td include/clang/Sema/Sema.h lib/Sema/SemaExpr.cpp test/Analysis/self-init.m test/SemaCXX/warn-assignment-condition.cpp
fjahanian at apple.com
Tue Feb 1 14:09:56 PST 2011
On Feb 1, 2011, at 2:04 PM, Argyrios Kyrtzidis wrote:
> Why not,
> if (((do-something-elaborate-that-results-in-lvalue-that-i-want-to-assign-and-check) = b))
It is subjective of course. I thought, there should be a way to escape this warning (other than by flag), and putting paren
is a way to make the intention known.
> seems reasonable to me.
>> - Fariborz
>>> cfe-commits mailing list
>>> cfe-commits at cs.uiuc.edu
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits