summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/index-refs.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [libclang] Add `CXSymbolRole role` to CXIdxEntityRefInfoFangrui Song2018-02-121-4/+12
| | | | | | | | | | | | | | | | | | Summary: CXIdxEntityRefInfo contains the member `CXIdxEntityRefKind kind;` to differentiate implicit and direct calls. However, there are more roles defined in SymbolRole. Among them, `Read/Write` are probably the most useful ones as they can be used to differentiate Read/Write occurrences of a symbol for document highlight in a text document. See `export namespace DocumentHighlightKind` on https://microsoft.github.io/language-server-protocol/specification Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D42895 llvm-svn: 324914
* [index] Index type source info for class specializationsAlex Lorenz2017-04-251-0/+1
| | | | | | rdar://31758344 llvm-svn: 301315
* [libclang] indexing: make sure to not visit init-list expressions twice.Argyrios Kyrtzidis2016-02-091-0/+8
| | | | llvm-svn: 260255
* [Index] Make the USRs more stable.Argyrios Kyrtzidis2014-02-231-1/+1
| | | | | | | | | - Only include offsets with local (in function scope) symbols, where we don't encode scoping - Only include the filename with non-system symbols. Presumably the system headers will not provide conflicting definitions. rdar://15976823 llvm-svn: 201990
* [libclang] Index the field references of a designated initializer, ↵Argyrios Kyrtzidis2012-02-221-0/+11
| | | | | | rdar://10906206 llvm-svn: 151118
* Fix the RecursiveASTVisitor to not traverse C++ default parameters twice.Argyrios Kyrtzidis2012-02-161-0/+1
| | | | llvm-svn: 150651
* [libclang] Do index statements inside a type source info. rdar://10872758Argyrios Kyrtzidis2012-02-161-0/+9
| | | | llvm-svn: 150647
* [libclang] Indexing: only index implicit template instantiations via an ↵Argyrios Kyrtzidis2012-02-141-3/+8
| | | | | | opt-in indexing option. llvm-svn: 150517
* [libclang] For a reference of an implicit template instantiation just giveArgyrios Kyrtzidis2012-02-111-0/+19
| | | | | | | a reference for the instantiation decl. Also test that its location is correct after previous commit. llvm-svn: 150291
* [libclang] Indexing API: fully index using decls and directives.Argyrios Kyrtzidis2012-02-101-0/+16
| | | | llvm-svn: 150268
* [libclang] For CXXOperatorCallExprs, give a valid source location to the ↵Argyrios Kyrtzidis2012-02-081-0/+23
| | | | | | | | | | DeclRefExpr that is referencing the member function, so we can index the referenced function. Fixes rdar://10762375&10324915 & http://llvm.org/PR11192 llvm-svn: 150033
* [libclang] Indexing API: Fix indexing of missed references.Argyrios Kyrtzidis2011-12-131-0/+37
rdar://10567864&10567916 llvm-svn: 146497
OpenPOWER on IntegriCloud