summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-10-05 00:22:40 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-10-05 00:22:40 +0000
commitdc78f3e7a9584c0d2d1b813e056ad35159005844 (patch)
tree1efc612930388b0b48de61ceae789c422857cba3 /clang/include/clang-c
parent2b9b5bb697d40fe6a348464a6da66e74c81fdbd4 (diff)
downloadbcm5719-llvm-dc78f3e7a9584c0d2d1b813e056ad35159005844.tar.gz
bcm5719-llvm-dc78f3e7a9584c0d2d1b813e056ad35159005844.zip
[libclang] Now that we have a CXModule object, pass it to the
importedASTFile indexing callback. llvm-svn: 165281
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index f7a319b5f2b..1b350d8770b 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/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;
OpenPOWER on IntegriCloud