News for hackers. Stuff that matters.
Re:C++ std::move doesn't move anything: A deep dive into Val... by dataflow on Sunday January 11, 2026 @12:13PM (#46577525)
If that's the issue you're facing, consider clang-query, e.g.: https://godbolt.org/z/bfG94qGan

  match cxxConstructExpr(hasDeclaration(cxxConstructorDecl(isMoveConstructor(), unless(isNoThrow())).bind("throwing-move")))
You can put extra constraints on the caller if you'd like (e.g., isInStdNamespace()), though it's less trivial. Happy to help write something if you have a precise idea of what you want to match.

There are no comments on this comment yet.