27 std::FILE *In = fmemopen(Data, Size,
"r");
int LLVMFuzzerTestOneInput(uint8_t *Data, size_t Size)
This class exposes ClangdServer's capabilities via Language Server Protocol.
bool run()
Run LSP server loop, communicating with the Transport provided in the constructor.
FIXME: Skip testing on windows temporarily due to the different escaping code mode.
std::unique_ptr< Transport > newJSONTransport(std::FILE *In, llvm::raw_ostream &Out, llvm::raw_ostream *InMirror, bool Pretty, JSONStreamStyle Style)
bool UseDirBasedCDB
Look for compilation databases, rather than using compile commands set via LSP (extensions) only.
clangd::CodeCompleteOptions CodeComplete
Per-feature options.