clang 20.0.0git
|
Typedefs | |
typedef void * | CXRemapping |
A remapping of original source files and their translated files. | |
Functions | |
CINDEX_LINKAGE CXRemapping | clang_getRemappings (const char *path) |
Retrieve a remapping. | |
CINDEX_LINKAGE CXRemapping | clang_getRemappingsFromFileList (const char **filePaths, unsigned numFiles) |
Retrieve a remapping. | |
CINDEX_LINKAGE unsigned | clang_remap_getNumFiles (CXRemapping) |
Determine the number of remappings. | |
CINDEX_LINKAGE void | clang_remap_getFilenames (CXRemapping, unsigned index, CXString *original, CXString *transformed) |
Get the original and the associated filename from the remapping. | |
CINDEX_LINKAGE void | clang_remap_dispose (CXRemapping) |
Dispose the remapping. | |
typedef void* CXRemapping |
CINDEX_LINKAGE CXRemapping clang_getRemappings | ( | const char * | path | ) |
Retrieve a remapping.
path | the path that contains metadata about remappings. |
clang_remap_dispose()
. Can return NULL if an error occurred. CINDEX_LINKAGE CXRemapping clang_getRemappingsFromFileList | ( | const char ** | filePaths, |
unsigned | numFiles | ||
) |
Retrieve a remapping.
filePaths | pointer to an array of file paths containing remapping info. |
numFiles | number of file paths. |
clang_remap_dispose()
. Can return NULL if an error occurred. CINDEX_LINKAGE void clang_remap_dispose | ( | CXRemapping | ) |
Dispose the remapping.
CINDEX_LINKAGE void clang_remap_getFilenames | ( | CXRemapping | , |
unsigned | index, | ||
CXString * | original, | ||
CXString * | transformed | ||
) |
Get the original and the associated filename from the remapping.
original | If non-NULL, will be set to the original filename. |
transformed | If non-NULL, will be set to the filename that the original is associated with. |
CINDEX_LINKAGE unsigned clang_remap_getNumFiles | ( | CXRemapping | ) |
Determine the number of remappings.