brintos

brintos / llvm-project-archived public Read only

0
0
Text · 755 B · fccc095 Raw
25 lines · c
1//===--- Conversion.h - LSP data (de-)serialization through XPC -*- C++ -*-===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_XPC_XPCJSONCONVERSIONS_H10#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_XPC_XPCJSONCONVERSIONS_H11 12#include "llvm/Support/JSON.h"13#include <xpc/xpc.h>14 15namespace clang {16namespace clangd {17 18xpc_object_t jsonToXpc(const llvm::json::Value &JSON);19llvm::json::Value xpcToJson(const xpc_object_t &XPCObject);20 21} // namespace clangd22} // namespace clang23 24#endif25