I checked a revised patch in r221702. Please review post-commit.

- Fariborz

On Oct 24, 2014, at 2:08 PM, jahanian <[email protected]> wrote:

> Minor change. I should not bail out early when types of implicit cast and its 
> sub expression are identical as
> implicit cast may be for lvalue to rvalue conversion. This showed up for this 
> test case (with old patch warning is not being issued).
> 
> __attribute__((__nonnull__))
> void test1(void *nonnull) {
>    if (nonnull) {}
> }
> <nonnull-patch-2.txt>
> 
> - Fariborz
> 
>> On Oct 24, 2014, at 1:23 PM, jahanian <[email protected]> wrote:
>> 
>> Thanks for the review. Here is the updated patch.
>> 
>>      
>> <nonnull-patch.txt>
>> 
>> - Fariborz
>> 
> 
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to