diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-12-13 18:47:41 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-12-13 18:47:41 +0000 |
commit | e422e45a6a89d450b8eca10f671b49874e87617a (patch) | |
tree | be55d8a6c74db604e5d83cb474c96ceeefe39274 /include/clang-c | |
parent | c2be04eaec94e20fc825fb98b713112d9d82562f (diff) |
[libclang] Indexing API: Fix indexing of missed references.
rdar://10567864&10567916
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146497 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang-c')
-rw-r--r-- | include/clang-c/Index.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/clang-c/Index.h b/include/clang-c/Index.h index 65e98ade51..8b0aed17a6 100644 --- a/include/clang-c/Index.h +++ b/include/clang-c/Index.h @@ -4311,11 +4311,12 @@ typedef struct { * \endcode * * The parent of reference of type 'Foo' is the variable 'var'. - * parentEntity will be null for references inside statement bodies. + * For references inside statement bodies of functions/methods, + * the parentEntity will be the function/method. */ const CXIdxEntityInfo *parentEntity; /** - * \brief Container context of the reference. + * \brief Lexical container context of the reference. */ const CXIdxContainerInfo *container; } CXIdxEntityRefInfo; |