[clang-tools-extra] r337655 - [clangd] Unbreak fuzzer build.

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 22 08:55:57 PDT 2018


Author: d0k
Date: Sun Jul 22 08:55:57 2018
New Revision: 337655

URL: http://llvm.org/viewvc/llvm-project?rev=337655&view=rev
Log:
[clangd] Unbreak 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=337655&r1=337654&r2=337655&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/fuzzer/ClangdFuzzer.cpp (original)
+++ clang-tools-extra/trunk/clangd/fuzzer/ClangdFuzzer.cpp Sun Jul 22 08:55:57 2018
@@ -20,7 +20,8 @@
 #include <stdio.h>
 
 extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
-  clang::clangd::JSONOutput Out(llvm::nulls(), llvm::nulls(), nullptr);
+  clang::clangd::JSONOutput Out(llvm::nulls(), llvm::nulls(),
+                                clang::clangd::Logger::Error, nullptr);
   clang::clangd::CodeCompleteOptions CCOpts;
   CCOpts.EnableSnippets = false;
   clang::clangd::ClangdServer::Options Opts;




More information about the cfe-commits mailing list