summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
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
commit184b14428e6580c97cf60b94777fa0db4727ab63 (patch)
treed22f1b3859ebb19f9b26fdfda6959ac9276cf6da /clang/include/clang-c
parent1ff65860e431d74fff481848f9fbef656a31c11f (diff)
downloadbcm5719-llvm-184b14428e6580c97cf60b94777fa0db4727ab63.tar.gz
bcm5719-llvm-184b14428e6580c97cf60b94777fa0db4727ab63.zip
[libclang] Simplify indexing of module imports by handling implicit
imports via ImportDecls. llvm-svn: 165160
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index 6ef028a0777..fba2ba83370 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/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"
OpenPOWER on IntegriCloud