[clang-tools-extra] r338947 - [clangd] Fix fuzzer build.
Matt Morehouse via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 3 18:51:10 PDT 2018
Author: morehouse
Date: Fri Aug 3 18:51:10 2018
New Revision: 338947
URL: http://llvm.org/viewvc/llvm-project?rev=338947&view=rev
Log:
[clangd] Fix fuzzer build.
Modified:
clang-tools-extra/trunk/clangd/fuzzer/ClangdFuzzer.cpp
Modified: clang-tools-extra/trunk/clangd/fuzzer/ClangdFuzzer.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/fuzzer/ClangdFuzzer.cpp?rev=338947&r1=338946&r2=338947&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/fuzzer/ClangdFuzzer.cpp (original)
+++ clang-tools-extra/trunk/clangd/fuzzer/ClangdFuzzer.cpp Fri Aug 3 18:51:10 2018
@@ -30,7 +30,8 @@ extern "C" int LLVMFuzzerTestOneInput(ui
clang::clangd::ClangdServer::Options Opts;
// Initialize and run ClangdLSPServer.
- clang::clangd::ClangdLSPServer LSPServer(Out, CCOpts, llvm::None, Opts);
+ clang::clangd::ClangdLSPServer LSPServer(Out, CCOpts, llvm::None, false,
+ Opts);
// fmemopen isn't portable, but I think we only run the fuzzer on Linux.
LSPServer.run(fmemopen(data, size, "r"));
return 0;
More information about the cfe-commits
mailing list