diff options
author | Felix Berger <flx@google.com> | 2021-05-24 09:14:59 -0400 |
---|---|---|
committer | Felix Berger <flx@google.com> | 2021-06-09 16:36:53 -0400 |
commit | efa4dbc32ca9b7f3319edbcc6ac502ea962c8f0a (patch) | |
tree | e330f13fdb4b770689a8b72f22cddb2c8218f82b /llvm/lib/TextAPI/Target.cpp | |
parent | a56bd7dec8da4348d847d53c96d8a30f4a821d36 (diff) | |
download | llvm-efa4dbc32ca9b7f3319edbcc6ac502ea962c8f0a.zip llvm-efa4dbc32ca9b7f3319edbcc6ac502ea962c8f0a.tar.gz llvm-efa4dbc32ca9b7f3319edbcc6ac502ea962c8f0a.tar.bz2 |
[clang-tidy] performance-unnecessary-copy-initialization: Look at the canonical type when checking for aliases.
This fixes a false positive case where for instance a pointer is obtained and declared using `auto`.
Differential Revision: https://reviews.llvm.org/D103018
Reviewed-by: ymandel
Diffstat (limited to 'llvm/lib/TextAPI/Target.cpp')
0 files changed, 0 insertions, 0 deletions