diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-02-14 22:23:11 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-02-14 22:23:11 +0000 |
commit | 7e747957cdfd49b7f6d3f1cce7f373f093f52e11 (patch) | |
tree | 3c20d05ec95d218c79451ed3bff85d383534518d /clang/include/clang-c/Index.h | |
parent | 33e5adea869ba85199c1236421b7181158cfe4e8 (diff) | |
download | bcm5719-llvm-7e747957cdfd49b7f6d3f1cce7f373f093f52e11.tar.gz bcm5719-llvm-7e747957cdfd49b7f6d3f1cce7f373f093f52e11.zip |
[libclang] Indexing: only index implicit template instantiations via an opt-in indexing option.
llvm-svn: 150517
Diffstat (limited to 'clang/include/clang-c/Index.h')
-rw-r--r-- | clang/include/clang-c/Index.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h index a5082d120a3..0c6d6d1c762 100644 --- a/clang/include/clang-c/Index.h +++ b/clang/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; /** |