Home
last modified time | relevance | path

Searched refs:JSONStreamStyle (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Tools/mlir-lsp-server/
H A DMlirLspServerMain.cpp23 llvm::cl::opt<JSONStreamStyle> inputStyle{ in MlirLspServerMain()
26 llvm::cl::values(clEnumValN(JSONStreamStyle::Standard, "standard", in MlirLspServerMain()
28 clEnumValN(JSONStreamStyle::Delimited, "delimited", in MlirLspServerMain()
31 llvm::cl::init(JSONStreamStyle::Standard), in MlirLspServerMain()
59 inputStyle = JSONStreamStyle::Delimited; in MlirLspServerMain()
/llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/
H A DMlirPdllLspServerMain.cpp21 llvm::cl::opt<JSONStreamStyle> inputStyle{ in MlirPdllLspServerMain()
24 llvm::cl::values(clEnumValN(JSONStreamStyle::Standard, "standard", in MlirPdllLspServerMain()
26 clEnumValN(JSONStreamStyle::Delimited, "delimited", in MlirPdllLspServerMain()
29 llvm::cl::init(JSONStreamStyle::Standard), in MlirPdllLspServerMain()
65 inputStyle = JSONStreamStyle::Delimited; in MlirPdllLspServerMain()
/llvm-project-15.0.7/mlir/lib/Tools/tblgen-lsp-server/
H A DTableGenLspServerMain.cpp21 llvm::cl::opt<JSONStreamStyle> inputStyle{ in TableGenLspServerMain()
24 llvm::cl::values(clEnumValN(JSONStreamStyle::Standard, "standard", in TableGenLspServerMain()
26 clEnumValN(JSONStreamStyle::Delimited, "delimited", in TableGenLspServerMain()
29 llvm::cl::init(JSONStreamStyle::Standard), in TableGenLspServerMain()
65 inputStyle = JSONStreamStyle::Delimited; in TableGenLspServerMain()
/llvm-project-15.0.7/mlir/lib/Tools/lsp-server-support/
H A DTransport.h39 enum JSONStreamStyle { enum
51 JSONStreamStyle style = JSONStreamStyle::Standard,
71 return style == JSONStreamStyle::Delimited ? readDelimitedMessage(json) in readMessage()
84 JSONStreamStyle style;
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DTransport.h66 enum JSONStreamStyle { enum
87 JSONStreamStyle = JSONStreamStyle::Standard);
H A DJSONTransport.cpp65 llvm::raw_ostream *InMirror, bool Pretty, JSONStreamStyle Style) in JSONTransport()
147 return Style == JSONStreamStyle::Delimited ? readDelimitedMessage(JSON) in readRawMessage()
158 JSONStreamStyle Style;
331 JSONStreamStyle Style) { in newJSONTransport()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DJSONTransportTests.cpp35 JSONStreamStyle Style) { in transport()
110 /*Pretty=*/false, JSONStreamStyle::Standard); in TEST_F()
151 /*Pretty=*/true, JSONStreamStyle::Delimited); in TEST_F()
196 /*Pretty=*/false, JSONStreamStyle::Standard); in TEST_F()
/llvm-project-15.0.7/clang-tools-extra/clangd/fuzzer/
H A Dclangd-fuzzer.cpp30 /*Style=*/JSONStreamStyle::Delimited); in LLVMFuzzerTestOneInput()
/llvm-project-15.0.7/clang-tools-extra/clangd/tool/
H A DClangdMain.cpp424 opt<JSONStreamStyle> InputStyle{
429 clEnumValN(JSONStreamStyle::Standard, "standard", "usual LSP protocol"),
430 clEnumValN(JSONStreamStyle::Delimited, "delimited",
432 init(JSONStreamStyle::Standard),
757 InputStyle = JSONStreamStyle::Delimited; in main()