27 std::FILE *In = fmemopen(Data, Size,
"r");
30 JSONStreamStyle::Delimited);
35 Opts.UseDirBasedCDB =
false;
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 EnableSnippets
When true, completion items will contain expandable code snippets in completion (e....