clang API Documentation
Go to the source code of this file.
Typedefs | |
typedef struct CXVirtualFileOverlayImpl * | CXVirtualFileOverlay |
Object encapsulating information about overlaying virtual file/directories over the real file system. | |
typedef struct CXModuleMapDescriptorImpl * | CXModuleMapDescriptor |
Object encapsulating information about a module.map file. | |
Functions | |
CINDEX_LINKAGE unsigned long long | clang_getBuildSessionTimestamp (void) |
Return the timestamp for use with Clang's -fbuild-session-timestamp= option. | |
CINDEX_LINKAGE CXVirtualFileOverlay | clang_VirtualFileOverlay_create (unsigned options) |
Create a CXVirtualFileOverlay object. Must be disposed with clang_VirtualFileOverlay_dispose() . | |
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. The virtual path must be canonicalized (not contain "."/".."). | |
CINDEX_LINKAGE enum CXErrorCode | clang_VirtualFileOverlay_setCaseSensitivity (CXVirtualFileOverlay, int caseSensitive) |
Set the case sensitivity for the CXVirtualFileOverlay object. The CXVirtualFileOverlay object is case-sensitive by default, this option can be used to override the default. | |
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 CXModuleMapDescriptor | clang_ModuleMapDescriptor_create (unsigned options) |
Create a CXModuleMapDescriptor object. Must be disposed with clang_ModuleMapDescriptor_dispose() . | |
CINDEX_LINKAGE enum CXErrorCode | clang_ModuleMapDescriptor_setFrameworkModuleName (CXModuleMapDescriptor, const char *name) |
Sets the framework module name that the module.map describes. | |
CINDEX_LINKAGE enum CXErrorCode | clang_ModuleMapDescriptor_setUmbrellaHeader (CXModuleMapDescriptor, const char *name) |
Sets the umbrealla header name that the module.map describes. | |
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. |