|
clang-tools 22.0.0git
|
This file implements a function that runs clangd on a single input. More...
#include "ClangdLSPServer.h"#include "ClangdServer.h"#include "support/ThreadsafeFS.h"#include <cstdio>Go to the source code of this file.
Functions | |
| int | LLVMFuzzerTestOneInput (uint8_t *Data, size_t Size) |
This file implements a function that runs clangd on a single input.
This function is then linked into the Fuzzer library.
Definition in file clangd-fuzzer.cpp.
| int LLVMFuzzerTestOneInput | ( | uint8_t * | Data, |
| size_t | Size ) |
Definition at line 22 of file clangd-fuzzer.cpp.
References clang::clangd::ClangdLSPServer::Options::CodeComplete, clang::clangd::Delimited, clang::clangd::newJSONTransport(), clang::clangd::ClangdLSPServer::run(), and clang::clangd::ClangdLSPServer::Options::UseDirBasedCDB.
Referenced by main().