[clang-tools-extra] [clang-tidy] Add flag to specify an alternative to std::forward (PR #138755)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Sun Jun 29 13:32:26 PDT 2025
vbvictor wrote:
> I have the issue where I want to test the custom_move and I need check to pass only for -check-suffix=,MOVEFUNCTION and fail for everything else, since it still expects ::std::move. I am not sure how to write this.
You can create a separate file `missing-std-forward-custom-function.cpp`, where you would have your custom defined function. The same should be done for other check.
After added tests and rebase on fresh main, we can land this.
https://github.com/llvm/llvm-project/pull/138755
More information about the cfe-commits
mailing list