The functions in this group provide access to information about modules.
More...
The functions in this group provide access to information about modules.
◆ CXModule
◆ clang_Cursor_getModule()
Given a CXCursor_ModuleImportDecl cursor, return the associated module.
◆ clang_getModuleForFile()
Given a CXFile header file, return the module that contains it, if one exists.
◆ clang_Module_getASTFile()
- Parameters
-
- Returns
- the module file where the provided module object came from.
◆ clang_Module_getFullName()
- Parameters
-
- Returns
- the full name of the module, e.g. "std.vector".
◆ clang_Module_getName()
- Parameters
-
- Returns
- the name of the module, e.g. for the 'std.vector' sub-module it will return "vector".
◆ clang_Module_getNumTopLevelHeaders()
- Parameters
-
- Returns
- the number of top level headers associated with this module.
◆ clang_Module_getParent()
- Parameters
-
- Returns
- the parent of a sub-module or NULL if the given module is top-level, e.g. for 'std.vector' it will return the 'std' module.
◆ clang_Module_getTopLevelHeader()
- Parameters
-
Module | a module object. |
Index | top level header index (zero-based). |
- Returns
- the specified top level header associated with the module.
◆ clang_Module_isSystem()
- Parameters
-
- Returns
- non-zero if the module is a system one.