diff options
author | Max Winkler <82551778+MaxEW707@users.noreply.github.com> | 2024-03-06 10:58:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-06 16:58:12 +0100 |
commit | d9d9301eec6dfefcf53fd04b61324f140f273033 (patch) | |
tree | 0a5441275d149885eda4c91935961d3119e1da2a /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 12fdabc7908d3acbec42ce6172a225db85cb4f23 (diff) | |
download | llvm-d9d9301eec6dfefcf53fd04b61324f140f273033.zip llvm-d9d9301eec6dfefcf53fd04b61324f140f273033.tar.gz llvm-d9d9301eec6dfefcf53fd04b61324f140f273033.tar.bz2 |
[clang][Sema] Warn on self move for inlined static cast (#76646)
There are code bases that inline `std::move` manually via `static_cast`.
Treat a static cast to an xvalue as an inlined `std::move` call and warn
on a self move.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions