From 464502e2490d7aefe91d5ec6692930d16c92a8a8 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 11 Jan 2017 16:42:26 +0000 Subject: [PATCH] Unbreak the clang-fuzzer build after r291184. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291681 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/clang-fuzzer/ClangFuzzer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/clang-fuzzer/ClangFuzzer.cpp b/tools/clang-fuzzer/ClangFuzzer.cpp index afe57d4a66..1692882c0b 100644 --- a/tools/clang-fuzzer/ClangFuzzer.cpp +++ b/tools/clang-fuzzer/ClangFuzzer.cpp @@ -42,7 +42,7 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) { tooling::newFrontendActionFactory()); std::shared_ptr PCHContainerOps = std::make_shared(); - action->runInvocation(Invocation.release(), Files.get(), PCHContainerOps, + action->runInvocation(std::move(Invocation), Files.get(), PCHContainerOps, &Diags); return 0; } -- 2.40.0