clang-tools  14.0.0git
Functions | Variables
ClangdXPCTestClient.cpp File Reference
#include "xpc/Conversion.h"
#include "clang/Basic/LLVM.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/LineIterator.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h"
#include <dlfcn.h>
#include <stdio.h>
#include <string>
#include <xpc/xpc.h>
Include dependency graph for ClangdXPCTestClient.cpp:

Go to the source code of this file.

Functions

static std::string getLibraryPath ()
 
static void dumpXPCObject (xpc_object_t Object, llvm::raw_ostream &OS)
 
int main (int argc, char *argv[])
 

Variables

const typedef char *(* clangd_xpc_get_bundle_identifier_t )(void)
 

Function Documentation

◆ dumpXPCObject()

static void dumpXPCObject ( xpc_object_t  Object,
llvm::raw_ostream &  OS 
)
static

Definition at line 38 of file ClangdXPCTestClient.cpp.

References OS, Type, Value, and clang::clangd::xpcToJson().

Referenced by main().

◆ getLibraryPath()

static std::string getLibraryPath ( )
static

Definition at line 26 of file ClangdXPCTestClient.cpp.

Referenced by main().

◆ main()

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

◆ clangd_xpc_get_bundle_identifier_t

const typedef char*(* clangd_xpc_get_bundle_identifier_t) (void)

Definition at line 21 of file ClangdXPCTestClient.cpp.

Referenced by main().