[AMDGPU][AsmParser][NFC] Translate parsed MIMG instructions to MCInsts automatically.
[llvm-project.git] / clang-tools-extra / clangd / xpc / Conversion.h
blobfccc095b765d396f15c1976cf1b6b6244e3ff9ac
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-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_XPC_XPCJSONCONVERSIONS_H
10 #define LLVM_CLANG_TOOLS_EXTRA_CLANGD_XPC_XPCJSONCONVERSIONS_H
12 #include "llvm/Support/JSON.h"
13 #include <xpc/xpc.h>
15 namespace clang {
16 namespace clangd {
18 xpc_object_t jsonToXpc(const llvm::json::Value &JSON);
19 llvm::json::Value xpcToJson(const xpc_object_t &XPCObject);
21 } // namespace clangd
22 } // namespace clang
24 #endif