aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-10-03 21:05:44 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-10-03 21:05:44 +0000
commit37f2f52fbc16b0d426d4d86c7e1662e5c6b9e3b8 (patch)
tree4d78aa3746e9c258418fe5e241f183181920c90a /include
parent1a71112c56a7b5efe15a88971b9c0c93d92d29f4 (diff)
[libclang] Simplify indexing of module imports by handling implicit
imports via ImportDecls. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/clang-c/Index.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h
index 6ef028a077..fba2ba8337 100644
--- a/include/clang-c/Index.h
+++ b/include/clang-c/Index.h
@@ -4937,12 +4937,7 @@ typedef struct {
* \brief Non-zero if an inclusion directive was automatically turned into
* a module import.
*/
- int isIncludeDirective;
- /**
- * \brief The name of the file being included or the module being imported,
- * as written in the source code.
- */
- const char *sourceName;
+ 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"