clang.c.BuildSystem

Undocumented in source.

Public Imports

clang.c.CXErrorCode
public import clang.c.CXErrorCode;

Members

Aliases

CXModuleMapDescriptor
alias CXModuleMapDescriptor = CXModuleMapDescriptorImpl*
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
CXVirtualFileOverlay
alias CXVirtualFileOverlay = CXVirtualFileOverlayImpl*
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

clang_ModuleMapDescriptor_create
CXModuleMapDescriptor clang_ModuleMapDescriptor_create(uint options)

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

clang_ModuleMapDescriptor_dispose
void clang_ModuleMapDescriptor_dispose(CXModuleMapDescriptor )

Dispose a \c CXModuleMapDescriptor object.

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

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)

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)

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

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

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)

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

clang_VirtualFileOverlay_dispose
void clang_VirtualFileOverlay_dispose(CXVirtualFileOverlay )

Dispose a \c CXVirtualFileOverlay object.

clang_VirtualFileOverlay_setCaseSensitivity
CXErrorCode clang_VirtualFileOverlay_setCaseSensitivity(CXVirtualFileOverlay , int caseSensitive)

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)

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

clang_free
void clang_free(void* buffer)

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

clang_getBuildSessionTimestamp
ulong clang_getBuildSessionTimestamp()

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

Structs

CXModuleMapDescriptorImpl
struct CXModuleMapDescriptorImpl

Object encapsulating information about a module.map file.

CXVirtualFileOverlayImpl
struct CXVirtualFileOverlayImpl

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

Meta