https://github.com/NeKon69 commented:
> Since move semantics don't apply to raw int*, I used std::string_view as the global and std::move() to trigger the -moved variant, following the same pattern as the existing moved tests in dangling-field.cpp. Sure, that makes sense. > (used a little bit AI for learning and helping purpose so any suggestion is > helpful :) ) You should add that to the description then: https://llvm.org/docs/AIToolPolicy.html https://github.com/llvm/llvm-project/pull/204891 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
