summaryrefslogtreecommitdiffstats
path: root/include/clang-c
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-02-14 22:23:11 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-02-14 22:23:11 +0000
commit58d2dbea680a75de266c5eff77cc15c323cfd48a (patch)
tree4bcc4b7b52b15b1c7add0c8d1283382e3e644ac3 /include/clang-c
parent625bb569df0c34feec0d52c0ec5215f21ef2e054 (diff)
[libclang] Indexing: only index implicit template instantiations via an opt-in indexing option.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150517 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang-c')
-rw-r--r--include/clang-c/Index.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h
index a5082d120a..0c6d6d1c76 100644
--- a/include/clang-c/Index.h
+++ b/include/clang-c/Index.h
@@ -4461,7 +4461,13 @@ typedef enum {
* \brief Function-local symbols should be indexed. If this is not set
* function-local symbols will be ignored.
*/
- CXIndexOpt_IndexFunctionLocalSymbols = 0x2
+ CXIndexOpt_IndexFunctionLocalSymbols = 0x2,
+
+ /**
+ * \brief Implicit function/class template instantiations should be indexed.
+ * If this is not set, implicit instantiations will be ignored.
+ */
+ CXIndexOpt_IndexImplicitTemplateInstantiations = 0x4
} CXIndexOptFlags;
/**