diff options
author | Corentin Jabot <corentinjabot@gmail.com> | 2022-03-29 17:28:56 +0200 |
---|---|---|
committer | Corentin Jabot <corentinjabot@gmail.com> | 2022-04-05 21:03:02 +0200 |
commit | 84f0a36b14bbd464d65cb1a6135134072b828447 (patch) | |
tree | 4602014bf6bb0a2032a2fcbc6392e031a0d78638 /clang/lib/Basic/Module.cpp | |
parent | 59d3a9e0877b2b12fc98eea0f9bbbc93f3c7a094 (diff) | |
download | llvm-84f0a36b14bbd464d65cb1a6135134072b828447.zip llvm-84f0a36b14bbd464d65cb1a6135134072b828447.tar.gz llvm-84f0a36b14bbd464d65cb1a6135134072b828447.tar.bz2 |
[Clang] Do not warn on unused lifetime-extending vars with side effects...
const auto & var = ObjectWithSideEffects();
Fixes https://github.com/llvm/llvm-project/issues/54489
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D122661
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions