[cfe-commits] [PATCH] Warn when non-POD types are passed into va_arg

David Majnemer david.majnemer at gmail.com
Fri May 20 02:40:51 PDT 2011


I don't have commit access.

On Fri, May 20, 2011 at 4:49 AM, Sebastian Redl
<sebastian.redl at getdesigned.at> wrote:
>
> On 20.05.2011, at 01:48, David Majnemer wrote:
>
>> All sorts of weird things can happen if va_arg can spit out a non-POD type.
>>
>> Unless I missed something, the attached patch should properly diagnose
>> when this is detectable and give a warning in the non-pod-varargs
>> group.
>
> Simple and good. Do you have commit access?
>
> Sebastian
>



More information about the cfe-commits mailing list