diff options
author | Vinayak Dev <104419489+vinayakdsci@users.noreply.github.com> | 2024-03-01 21:10:46 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-01 10:40:46 -0500 |
commit | 2b4d67bf59d609321701540a15f48eda04688652 (patch) | |
tree | ab4564ec7a7864f4d481f1504a33c4b2e25f1098 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp | |
parent | 601a9587a1a7eb8dd6377c4ab332edd3bce97a98 (diff) | |
download | llvm-2b4d67bf59d609321701540a15f48eda04688652.zip llvm-2b4d67bf59d609321701540a15f48eda04688652.tar.gz llvm-2b4d67bf59d609321701540a15f48eda04688652.tar.bz2 |
[Clang][Sema]: Allow copy constructor side effects (#81127)
Copy constructors can have initialization with side effects, and thus
clang should not emit a warning when -Wunused-variable is used in this
context. Currently however, a warning is emitted.
Now, compilation happens without warnings.
Fixes #79518
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions