From a588d412f995a89b0ae1a99528cdc0d2f7befec7 Mon Sep 17 00:00:00 2001 From: Jan Svoboda Date: Wed, 13 Sep 2023 15:30:56 -0700 Subject: [PATCH] [clang][deps] Implement move-conversion for `CowCompilerInvocation` --- clang/include/clang/Frontend/CompilerInvocation.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clang/include/clang/Frontend/CompilerInvocation.h b/clang/include/clang/Frontend/CompilerInvocation.h index b79a1a53c1501..45e263e7bc768 100644 --- a/clang/include/clang/Frontend/CompilerInvocation.h +++ b/clang/include/clang/Frontend/CompilerInvocation.h @@ -354,6 +354,9 @@ class CowCompilerInvocation : public CompilerInvocationBase { deep_copy_assign(X); } + CowCompilerInvocation(CompilerInvocation &&X) + : CompilerInvocationBase(std::move(X)) {} + // Const getters are inherited from the base class. /// Mutable getters.