[clang-tools-extra] 4feca71 - Fix the clangd-fuzzer build error.
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 26 01:13:29 PST 2020
Author: Haojian Wu
Date: 2020-02-26T10:13:13+01:00
New Revision: 4feca71df0ca96237342d0e3ef41e3cdbfa0e27c
URL: https://github.com/llvm/llvm-project/commit/4feca71df0ca96237342d0e3ef41e3cdbfa0e27c
DIFF: https://github.com/llvm/llvm-project/commit/4feca71df0ca96237342d0e3ef41e3cdbfa0e27c.diff
LOG: Fix the clangd-fuzzer build error.
Added:
Modified:
clang-tools-extra/clangd/fuzzer/clangd-fuzzer.cpp
Removed:
################################################################################
diff --git a/clang-tools-extra/clangd/fuzzer/clangd-fuzzer.cpp b/clang-tools-extra/clangd/fuzzer/clangd-fuzzer.cpp
index 4e5d8d7a6ff9..9776b0585e2b 100644
--- a/clang-tools-extra/clangd/fuzzer/clangd-fuzzer.cpp
+++ b/clang-tools-extra/clangd/fuzzer/clangd-fuzzer.cpp
@@ -16,6 +16,7 @@
#include "ClangdServer.h"
#include "CodeComplete.h"
#include "FSProvider.h"
+#include "refactor/Rename.h"
#include <cstdio>
#include <sstream>
@@ -36,8 +37,8 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
ClangdServer::Options Opts;
// Initialize and run ClangdLSPServer.
- ClangdLSPServer LSPServer(*Transport, FS, CCOpts, llvm::None, false,
- llvm::None, Opts);
+ ClangdLSPServer LSPServer(*Transport, FS, CCOpts, RenameOptions(), llvm::None,
+ false, llvm::None, Opts);
LSPServer.run();
return 0;
}
More information about the cfe-commits
mailing list