On Dec 19, 2014, at 10:51 AM, David Blaikie <[email protected]> wrote:
>
> -
> +// rdar://19256338
> +#define SAVE_READ(PTR, RESULT) if( (PTR) && *(PTR) ) *RESULT=*PTR;
> +
> +// Source
> +typedef unsigned char Boolean;
> +struct HTTPClientPrivate
> +{
> + Boolean readSuspended;
> +};
> +typedef struct HTTPClientPrivate * HTTPClientRef;
> +static void _HTTPClientErrorHandler( HTTPClientRef me)
> +{
> + Boolean result;
> + SAVE_READ(&me->readSuspended, &result);
> +}
>
> Could this test case be a bit simpler to highlight the specific issue being
> tested/addressed here? (I assume the test case doesn't require a
> class/struct, or two macro parameters, etc, etc… )
In r224713.
- 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