Skip to content
Snippets Groups Projects
Commit 1a740e00 authored by Adrian Prantl's avatar Adrian Prantl
Browse files

Fix clang-fuzzer build after r242499.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242505 91177308-0d34-0410-b5e6-96231b3b80d8
parent a5899c86
Branches
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ extern "C" void LLVMFuzzerTestOneInput(uint8_t *data, size_t size) { ...@@ -40,7 +40,7 @@ extern "C" void LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
std::unique_ptr<tooling::ToolAction> action( std::unique_ptr<tooling::ToolAction> action(
tooling::newFrontendActionFactory<clang::SyntaxOnlyAction>()); tooling::newFrontendActionFactory<clang::SyntaxOnlyAction>());
std::shared_ptr<PCHContainerOperations> PCHContainerOps = std::shared_ptr<PCHContainerOperations> PCHContainerOps =
std::make_shared<RawPCHContainerOperations>(); std::make_shared<PCHContainerOperations>();
action->runInvocation(Invocation.release(), Files.get(), PCHContainerOps, action->runInvocation(Invocation.release(), Files.get(), PCHContainerOps,
&Diags); &Diags);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment