diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-10-05 00:22:40 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-10-05 00:22:40 +0000 |
commit | 134d1e8a0b463d929ffeac5eefeae761707bf5d3 (patch) | |
tree | 88af0ee0a90b4ab6548ac1802046b91a99bd9d06 /include | |
parent | 5d04b1af7b76ed536557d4bba24005ad0d2fd608 (diff) | |
download | clang-134d1e8a0b463d929ffeac5eefeae761707bf5d3.tar.gz |
[libclang] Now that we have a CXModule object, pass it to the
importedASTFile indexing callback.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165281 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/clang-c/Index.h | 16 |
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; |