diff options
author | Stanislav Gatev <sgatev@google.com> | 2022-06-15 14:58:13 +0000 |
---|---|---|
committer | Stanislav Gatev <sgatev@google.com> | 2022-06-15 16:14:27 +0000 |
commit | 0c2edf27a22efb648b36343d49a5dbe72903b549 (patch) | |
tree | 406494550d7781f66604448d800565950b0f3a73 /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 4cd04d1687f1096990119304a3eb22081ab4bb29 (diff) | |
download | llvm-0c2edf27a22efb648b36343d49a5dbe72903b549.zip llvm-0c2edf27a22efb648b36343d49a5dbe72903b549.tar.gz llvm-0c2edf27a22efb648b36343d49a5dbe72903b549.tar.bz2 |
[clang][dataflow] Make `Value` and `StorageLocation` non-copyable
This makes it harder to misuse APIs that return references by
accidentally copying the results which could happen when assigning the
them to variables declared as `auto`.
Differential Revision: https://reviews.llvm.org/D127865
Reviewed-by: ymandel, xazax.hun
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions