diff options
author | Fangrui Song <maskray@google.com> | 2018-10-09 01:02:56 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2018-10-09 01:02:56 +0000 |
commit | 63a8b6c3046d2aaa83f1410c32771e7eb21e7a6c (patch) | |
tree | 369842da4afd9a33113f87937700ec7b0cf5050e /llvm/lib/Analysis/BasicAliasAnalysis.cpp | |
parent | 03128d62b85a737ae6005a226693d472192a740f (diff) | |
download | llvm-63a8b6c3046d2aaa83f1410c32771e7eb21e7a6c.zip llvm-63a8b6c3046d2aaa83f1410c32771e7eb21e7a6c.tar.gz llvm-63a8b6c3046d2aaa83f1410c32771e7eb21e7a6c.tar.bz2 |
[Index] Use locations to uniquify function-scope BindingDecl USR
Summary:
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; }
Reviewers: akyrtzi, arphaman, rsmith, hokein
Reviewed By: hokein
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D52445
llvm-svn: 344010
Diffstat (limited to 'llvm/lib/Analysis/BasicAliasAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions