clang.c.BuildSystem

Members

Functions

clang_ModuleMapDescriptor_create
CXModuleMapDescriptor clang_ModuleMapDescriptor_create(uint options)

\brief Create a \c CXModuleMapDescriptor object. Must be disposed with \c clang_ModuleMapDescriptor_dispose().

clang_ModuleMapDescriptor_dispose
void clang_ModuleMapDescriptor_dispose(CXModuleMapDescriptor)

\brief Dispose a \c CXModuleMapDescriptor object.

clang_ModuleMapDescriptor_setFrameworkModuleName
CXErrorCode clang_ModuleMapDescriptor_setFrameworkModuleName(CXModuleMapDescriptor, const(char)* name)

\brief Sets the framework module name that the module.map describes. \returns 0 for success, non-zero to indicate an error.

clang_ModuleMapDescriptor_setUmbrellaHeader
CXErrorCode clang_ModuleMapDescriptor_setUmbrellaHeader(CXModuleMapDescriptor, const(char)* name)

\brief Sets the umbrealla header name that the module.map describes. \returns 0 for success, non-zero to indicate an error.

clang_ModuleMapDescriptor_writeToBuffer
CXErrorCode clang_ModuleMapDescriptor_writeToBuffer(CXModuleMapDescriptor, uint options, char** out_buffer_ptr, uint* out_buffer_size)

\brief Write out the \c CXModuleMapDescriptor object to a char buffer.

clang_VirtualFileOverlay_addFileMapping
CXErrorCode clang_VirtualFileOverlay_addFileMapping(CXVirtualFileOverlay, const(char)* virtualPath, const(char)* realPath)

\brief Map an absolute virtual file path to an absolute real one. The virtual path must be canonicalized (not contain "."/".."). \returns 0 for success, non-zero to indicate an error.

clang_VirtualFileOverlay_create
CXVirtualFileOverlay clang_VirtualFileOverlay_create(uint options)

\brief Create a \c CXVirtualFileOverlay object. Must be disposed with \c clang_VirtualFileOverlay_dispose().

clang_VirtualFileOverlay_dispose
void clang_VirtualFileOverlay_dispose(CXVirtualFileOverlay)

\brief Dispose a \c CXVirtualFileOverlay object.

clang_VirtualFileOverlay_setCaseSensitivity
CXErrorCode clang_VirtualFileOverlay_setCaseSensitivity(CXVirtualFileOverlay, int caseSensitive)

\brief Set the case sensitivity for the \c CXVirtualFileOverlay object. The \c CXVirtualFileOverlay object is case-sensitive by default, this option can be used to override the default. \returns 0 for success, non-zero to indicate an error.

clang_VirtualFileOverlay_writeToBuffer
CXErrorCode clang_VirtualFileOverlay_writeToBuffer(CXVirtualFileOverlay, uint options, char** out_buffer_ptr, uint* out_buffer_size)

\brief Write out the \c CXVirtualFileOverlay object to a char buffer.

clang_free
void clang_free(void* buffer)

\brief free memory allocated by libclang, such as the buffer returned by \c CXVirtualFileOverlay() or \c clang_ModuleMapDescriptor_writeToBuffer().

clang_getBuildSessionTimestamp
ulong clang_getBuildSessionTimestamp()

\brief Return the timestamp for use with Clang's \c -fbuild-session-timestamp= option.

Structs

CXModuleMapDescriptorImpl
struct CXModuleMapDescriptorImpl

\brief Object encapsulating information about a module.map file.

CXVirtualFileOverlayImpl
struct CXVirtualFileOverlayImpl

\brief Object encapsulating information about overlaying virtual file/directories over the real file system.

Meta