Unverified Commit d9d9301e authored by Max Winkler's avatar Max Winkler Committed by GitHub
Browse files

[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.
parent 12fdabc7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment