[PATCH] Fix uninitialized value in AttributedTypeLoc.

Aaron Ballman aaron.ballman at gmail.com
Sun Mar 9 09:14:13 PDT 2014


On Sun, Mar 9, 2014 at 12:10 PM, Logan Chien <tzuhsiang.chien at gmail.com> wrote:
> Hi Aaron,
>
> Sorry.  I have uploaded the test case to the Phabricator.  Now I attached
> the test case in the email.
>
> I have tried to trigger the issue with -ast-dump (or something similar) but
> failed.  It seems that getAttrEnumOperandLoc() is only used by ASTReader,
> ASTWriter, and TransGCAttrs.  None of them will try to print the source
> location to the output.  Do you have any idea?  Thanks.

Okay, that sounds like more work than the test case is worth. So LGTM
as-is. Thanks!

~Aaron



More information about the cfe-commits mailing list