summaryrefslogtreecommitdiffstats
path: root/include/clang-c
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-01-14 00:11:49 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-01-14 00:11:49 +0000
commit22490747c123a78feec089539f30426084d348cf (patch)
treef03c378c01ad722111d3801e92479e9cd6b53a0b /include/clang-c
parent91534a357695fbdf3c136fb04218e37706da73a9 (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.h8
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;
/**