aboutsummaryrefslogtreecommitdiff
path: root/include/clang-c/Index.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang-c/Index.h')
-rw-r--r--include/clang-c/Index.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h
index f7a319b5f2..1b350d8770 100644
--- a/include/clang-c/Index.h
+++ b/include/clang-c/Index.h
@@ -4992,24 +4992,18 @@ typedef struct {
*/
CXFile file;
/**
- * \brief Location where the file is imported. Applicable only for modules.
+ * \brief The imported module or NULL if the AST file is a PCH.
*/
- CXIdxLoc loc;
+ CXModule module;
/**
- * \brief Non-zero if the AST file is a module otherwise it's a PCH.
+ * \brief Location where the file is imported. Applicable only for modules.
*/
- int isModule;
+ CXIdxLoc loc;
/**
* \brief Non-zero if an inclusion directive was automatically turned into
- * a module import.
+ * a module import. Applicable only for modules.
*/
int isImplicit;
- /**
- * \brief The actual name of the module or submodule being imported.
- * The syntax is a sequence of identifiers separated by dots, e.g "std.vector"
- * Applicable only for modules.
- */
- const char *moduleName;
} CXIdxImportedASTFileInfo;