blob: 936f51bea48d91ab34758dbdd8f0a6e66b5a4eda [file] [log] [blame]
//===--- Conversion.h - LSP data (de-)serialization through XPC -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_XPC_XPCJSONCONVERSIONS_H
#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_XPC_XPCJSONCONVERSIONS_H
#include "llvm/Support/JSON.h"
#include <xpc/xpc.h>
namespace clang {
namespace clangd {
xpc_object_t jsonToXpc(const llvm::json::Value &JSON);
llvm::json::Value xpcToJson(const xpc_object_t &XPCObject);
} // namespace clangd
} // namespace clang
#endif