diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-01-14 00:11:49 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-01-14 00:11:49 +0000 |
commit | 22490747c123a78feec089539f30426084d348cf (patch) | |
tree | f03c378c01ad722111d3801e92479e9cd6b53a0b /include/clang-c | |
parent | 91534a357695fbdf3c136fb04218e37706da73a9 (diff) |
[libclang] Add CXIndexOpt_IndexFunctionLocalSymbols indexing option to indicate
that one wants indexing callbacks for function-local symbols as well.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang-c')
-rw-r--r-- | include/clang-c/Index.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h index 92315a387f..588d93a932 100644 --- a/include/clang-c/Index.h +++ b/include/clang-c/Index.h @@ -4455,7 +4455,13 @@ typedef enum { * for only one reference of an entity per source file that does not also * include a declaration/definition of the entity. */ - CXIndexOpt_SuppressRedundantRefs = 0x1 + CXIndexOpt_SuppressRedundantRefs = 0x1, + + /** + * \brief Function-local symbols should be indexed. If this is not set + * function-local symbols will be ignored. + */ + CXIndexOpt_IndexFunctionLocalSymbols = 0x2 } CXIndexOptFlags; /** |