aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorArtem Dergachev <artem.dergachev@gmail.com>2021-04-26 13:47:36 -0700
committerArtem Dergachev <artem.dergachev@gmail.com>2021-05-10 14:00:30 -0700
commit43f4331edfb595979f6854351d24f9a9219595fa (patch)
treeb36fb4bd500317d221bf805e0cfef3d76111aaf3 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent6a64c462eb82f5f37e4ce512f4c25c474ddfcc4c (diff)
downloadllvm-43f4331edfb595979f6854351d24f9a9219595fa.zip
llvm-43f4331edfb595979f6854351d24f9a9219595fa.tar.gz
llvm-43f4331edfb595979f6854351d24f9a9219595fa.tar.bz2
[clang-tidy] Aliasing: Add support for captures.
The utility function clang::tidy::utils::hasPtrOrReferenceInFunc() scans the function for pointer/reference aliases to a given variable. It currently scans for operator & over that variable and for declarations of references to that variable. This patch makes it also scan for C++ lambda captures by reference and for Objective-C block captures. Differential Revision: https://reviews.llvm.org/D96215
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions