[PATCH] D116919: [AST] Add RParen loc for decltype AutoTypeloc.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 17 05:57:19 PST 2022


hokein added a comment.

In D116919#3248113 <https://reviews.llvm.org/D116919#3248113>, @mstorsjo wrote:

> In D116919#3247887 <https://reviews.llvm.org/D116919#3247887>, @hokein wrote:
>
>> Thanks, everyone!
>>
>> I manage to figure out the cause, the crash was caused by an arbitrary RPareLoc -- we missed to set the RPareLoc in `TreeTransform::TransformAutoType`. I reland the patch in ab3f100bec03d72ecee947a323c51698d4b95207 <https://reviews.llvm.org/rGab3f100bec03d72ecee947a323c51698d4b95207>.
>
> I rebuilt my full, non-reduced testcase now, and it seems like it built fine this time. Thanks!

Glad to hear, and thanks for the verification!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116919/new/

https://reviews.llvm.org/D116919



More information about the cfe-commits mailing list