Author: nico Date: Thu Apr 4 07:08:35 2019 New Revision: 357696 URL: http://llvm.org/viewvc/llvm-project?rev=357696&view=rev Log: Fix clangd-fuzzer build
r357102 made clangd-fuzzer no longer compile, but before r357654 / r357694 we didn't notice. Fix the compile. Also add a dep on FuzzMutate which I forgot to do in r357654. Modified: clang-tools-extra/trunk/clangd/fuzzer/CMakeLists.txt clang-tools-extra/trunk/clangd/fuzzer/clangd-fuzzer.cpp Modified: clang-tools-extra/trunk/clangd/fuzzer/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/fuzzer/CMakeLists.txt?rev=357696&r1=357695&r2=357696&view=diff ============================================================================== --- clang-tools-extra/trunk/clangd/fuzzer/CMakeLists.txt (original) +++ clang-tools-extra/trunk/clangd/fuzzer/CMakeLists.txt Thu Apr 4 07:08:35 2019 @@ -1,6 +1,9 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/..) -set(LLVM_LINK_COMPONENTS support) +set(LLVM_LINK_COMPONENTS + FuzzMutate + Support + ) # This fuzzer runs on oss-fuzz, so keep it around even if it looks unreferenced. add_llvm_fuzzer(clangd-fuzzer Modified: clang-tools-extra/trunk/clangd/fuzzer/clangd-fuzzer.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/fuzzer/clangd-fuzzer.cpp?rev=357696&r1=357695&r2=357696&view=diff ============================================================================== --- clang-tools-extra/trunk/clangd/fuzzer/clangd-fuzzer.cpp (original) +++ clang-tools-extra/trunk/clangd/fuzzer/clangd-fuzzer.cpp Thu Apr 4 07:08:35 2019 @@ -36,7 +36,8 @@ extern "C" int LLVMFuzzerTestOneInput(ui ClangdServer::Options Opts; // Initialize and run ClangdLSPServer. - ClangdLSPServer LSPServer(*Transport, FS, CCOpts, llvm::None, false, Opts); + ClangdLSPServer LSPServer(*Transport, FS, CCOpts, llvm::None, false, + llvm::None, Opts); LSPServer.run(); return 0; } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits