automatically, looks like this transformation: https://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/ReplaceAutoPtrTransform.rst?revision=189960&view=markup