This makes BindingDecl's of the same name have different USRs, so that references can be correctly attributed.
int a[1] = {};
{ auto [x] = a; x; }
{ auto [x] = a; x; } Differential D52445
[Index] Use locations to uniquify function-scope BindingDecl USR Authored by MaskRay on Sep 24 2018, 4:22 PM.
Details This makes BindingDecl's of the same name have different USRs, so that references can be correctly attributed. int a[1] = {};
{ auto [x] = a; x; }
{ auto [x] = a; x; }
Diff Detail
Event TimelineComment Actions The change looks reasonable to me, so lg. I'd wait a bit to see whether other reviewers have comments.
| ||||||||||
use isLocal(D) instead.