clang-tools 19.0.0git
Typedefs | Functions
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>

Go to the source code of this file.

Typedefs

typedef const char *(* clangd_xpc_get_bundle_identifier_t) (void)
 

Functions

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

Typedef Documentation

◆ clangd_xpc_get_bundle_identifier_t

typedef const char *(* clangd_xpc_get_bundle_identifier_t) (void)

Definition at line 21 of file ClangdXPCTestClient.cpp.

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, and clang::clangd::xpcToJson().

Referenced by main().

◆ getLibraryPath()

static std::string getLibraryPath ( )
static

Definition at line 26 of file ClangdXPCTestClient.cpp.

References getLibraryPath().

Referenced by getLibraryPath(), and main().

◆ main()

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