r291681 - Unbreak the clang-fuzzer build after r291184.

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 11 08:42:27 PST 2017


Author: d0k
Date: Wed Jan 11 10:42:26 2017
New Revision: 291681

URL: http://llvm.org/viewvc/llvm-project?rev=291681&view=rev
Log:
Unbreak the clang-fuzzer build after r291184.

Modified:
    cfe/trunk/tools/clang-fuzzer/ClangFuzzer.cpp

Modified: cfe/trunk/tools/clang-fuzzer/ClangFuzzer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-fuzzer/ClangFuzzer.cpp?rev=291681&r1=291680&r2=291681&view=diff
==============================================================================
--- cfe/trunk/tools/clang-fuzzer/ClangFuzzer.cpp (original)
+++ cfe/trunk/tools/clang-fuzzer/ClangFuzzer.cpp Wed Jan 11 10:42:26 2017
@@ -42,7 +42,7 @@ extern "C" int LLVMFuzzerTestOneInput(ui
       tooling::newFrontendActionFactory<clang::SyntaxOnlyAction>());
   std::shared_ptr<PCHContainerOperations> PCHContainerOps =
       std::make_shared<PCHContainerOperations>();
-  action->runInvocation(Invocation.release(), Files.get(), PCHContainerOps,
+  action->runInvocation(std::move(Invocation), Files.get(), PCHContainerOps,
                         &Diags);
   return 0;
 }




More information about the cfe-commits mailing list