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

David Majnemer david.majnemer at gmail.com
Sun Jun 12 23:47:19 PDT 2011


committed in r132905

On Fri, May 20, 2011 at 5:40 AM, David Majnemer
<david.majnemer at gmail.com> wrote:
> 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