The diff adds processing for std::move inside lambda captures at bugprone-use-after-move check. Especially it detects invalid std::move inside following code
int foo() { int a = 0; auto fun = [aa = std::move(a)]{ return aa; }; return a; }
Test Plan
./bin/llvm-lit -v ../clang-tools-extra/test/clang-tidy/checkers/bugprone-use-after-move.cpp
Hmm, I think the original name (CallMoveMatcher) was good as it matches the actual call.
I'd probably name the lambda one LambdaWithMoveInitMatcher and the other... actually it's very close to CallMoveMatcher itself, maybe just inline it?