14#ifndef LLVM_CLANG_C_BUILDSYSTEM_H
15#define LLVM_CLANG_C_BUILDSYSTEM_H
57 const char *virtualPath,
58 const char *realPath);
81 char **out_buffer_ptr,
82 unsigned *out_buffer_size);
138 char **out_buffer_ptr,
139 unsigned *out_buffer_size);
CXErrorCode
Error codes returned by libclang routines.
#define LLVM_CLANG_C_EXTERN_C_END
#define LLVM_CLANG_C_EXTERN_C_BEGIN
CINDEX_LINKAGE enum CXErrorCode clang_VirtualFileOverlay_setCaseSensitivity(CXVirtualFileOverlay, int caseSensitive)
Set the case sensitivity for the CXVirtualFileOverlay object.
CINDEX_LINKAGE enum CXErrorCode clang_VirtualFileOverlay_writeToBuffer(CXVirtualFileOverlay, unsigned options, char **out_buffer_ptr, unsigned *out_buffer_size)
Write out the CXVirtualFileOverlay object to a char buffer.
CINDEX_LINKAGE void clang_VirtualFileOverlay_dispose(CXVirtualFileOverlay)
Dispose a CXVirtualFileOverlay object.
CINDEX_LINKAGE void clang_free(void *buffer)
free memory allocated by libclang, such as the buffer returned by CXVirtualFileOverlay() or clang_Mod...
CINDEX_LINKAGE CXModuleMapDescriptor clang_ModuleMapDescriptor_create(unsigned options)
Create a CXModuleMapDescriptor object.
CINDEX_LINKAGE unsigned long long clang_getBuildSessionTimestamp(void)
Return the timestamp for use with Clang's -fbuild-session-timestamp= option.
CINDEX_LINKAGE enum CXErrorCode clang_ModuleMapDescriptor_setUmbrellaHeader(CXModuleMapDescriptor, const char *name)
Sets the umbrella header name that the module.modulemap describes.
struct CXModuleMapDescriptorImpl * CXModuleMapDescriptor
Object encapsulating information about a module.modulemap file.
CINDEX_LINKAGE enum CXErrorCode clang_ModuleMapDescriptor_setFrameworkModuleName(CXModuleMapDescriptor, const char *name)
Sets the framework module name that the module.modulemap describes.
CINDEX_LINKAGE enum CXErrorCode clang_VirtualFileOverlay_addFileMapping(CXVirtualFileOverlay, const char *virtualPath, const char *realPath)
Map an absolute virtual file path to an absolute real one.
CINDEX_LINKAGE CXVirtualFileOverlay clang_VirtualFileOverlay_create(unsigned options)
Create a CXVirtualFileOverlay object.
CINDEX_LINKAGE enum CXErrorCode clang_ModuleMapDescriptor_writeToBuffer(CXModuleMapDescriptor, unsigned options, char **out_buffer_ptr, unsigned *out_buffer_size)
Write out the CXModuleMapDescriptor object to a char buffer.
CINDEX_LINKAGE void clang_ModuleMapDescriptor_dispose(CXModuleMapDescriptor)
Dispose a CXModuleMapDescriptor object.
struct CXVirtualFileOverlayImpl * CXVirtualFileOverlay
Object encapsulating information about overlaying virtual file/directories over the real file system.