summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-10-18 00:17:05 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-10-18 00:17:05 +0000
commit5e2ec486bbd3f8432ecdab2a20dc402dd6c36845 (patch)
treecc4d21e910c22a6e95fac94fe8f0fee0e235128d /clang/include/clang-c
parent121d2a90f0215c2b1c2df7c7980832b898a335aa (diff)
downloadbcm5719-llvm-5e2ec486bbd3f8432ecdab2a20dc402dd6c36845.tar.gz
bcm5719-llvm-5e2ec486bbd3f8432ecdab2a20dc402dd6c36845.zip
[libclang] Invoke a ppIncludedFile callback when indexing implicit module imports.
llvm-svn: 166161
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index b122faa4431..650e6339402 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -4985,6 +4985,11 @@ typedef struct {
CXFile file;
int isImport;
int isAngled;
+ /**
+ * \brief Non-zero if the directive was automatically turned into a module
+ * import.
+ */
+ int isModuleImport;
} CXIdxIncludedFileInfo;
/**
OpenPOWER on IntegriCloud