summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/IndexingContext.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* [libclang] Indexing API: Fix issues, mostly C++ related.Argyrios Kyrtzidis2011-11-231-24/+43
| | | | llvm-svn: 145107
* [libclang] Indexing API: Support C++ symbols.Argyrios Kyrtzidis2011-11-221-34/+235
| | | | llvm-svn: 145058
* [libclang] Indexing API:Argyrios Kyrtzidis2011-11-181-84/+177
| | | | | | | | | -For indexDeclaration, also pass the declaration attributes as an array of cursors. -Rename CXIndexOpt_OneRefPerFile -> CXIndexOpt_SuppressRedundantRefs, and only pass a reference if a declaration/definition does not exist in the file. -Other fixes. llvm-svn: 144942
* [libclang] Indexing API: make sure we don't pass declarations/references ↵Argyrios Kyrtzidis2011-11-181-7/+13
| | | | | | without USR or location. llvm-svn: 144941
* [libclang] Indexing API: fill the objc category info for a category ↵Argyrios Kyrtzidis2011-11-161-3/+16
| | | | | | | | implementation and do not crash if no client container is registered for a declaration context. llvm-svn: 144765
* [libclang] Indexing API: make sure we do not try to index local declarations.Argyrios Kyrtzidis2011-11-161-0/+4
| | | | llvm-svn: 144764
* [libclang] Indexing API: if the CXIndexOpt_OneRefPerFile option is set, only ↵Argyrios Kyrtzidis2011-11-161-5/+33
| | | | | | | | report one reference per file. llvm-svn: 144763
* [libclang] Indexing API: Pass an implicit ObjCInterfaceDecl (@implementation ↵Argyrios Kyrtzidis2011-11-151-2/+1
| | | | | | | | without @interface) in a separate indexing callback than its implementation. llvm-svn: 144625
* [libclang] Introduce a new function to apply the indexing callbacks on an ↵Argyrios Kyrtzidis2011-11-151-1/+14
| | | | | | | | existing CXTranslationUnit, mainly to be used for indexing a PCH. llvm-svn: 144623
* [libclang] Slight changes to the indexing API and bigger internal changes ↵Argyrios Kyrtzidis2011-11-141-89/+56
| | | | | | for it. llvm-svn: 144577
* [libclang] Further simplify the indexing API.Argyrios Kyrtzidis2011-11-121-183/+86
| | | | | | | That stuff can be added later on if we need them. Also add some const goodness. llvm-svn: 144446
* [libclang] Simplify the indexing API.Argyrios Kyrtzidis2011-11-111-322/+259
| | | | | | | | Cut down the number of callbacks to more generic ones. Clients can check an enum to find out what kind of declaration it is and they can call functions to get more specific information than the generic provided info. llvm-svn: 144343
* Use const_cast to make it obvious that it's just removing constness (and ↵Benjamin Kramer2011-10-281-3/+5
| | | | | | silence warnings). llvm-svn: 143193
* [libclang] Index implicit property references.Argyrios Kyrtzidis2011-10-181-2/+4
| | | | llvm-svn: 142355
* Silence a -Wc++0x-narrowing warningMatt Beaumont-Gay2011-10-171-1/+1
| | | | llvm-svn: 142292
* [libclang] Introduce a new high level API for indexing clients that assumesArgyrios Kyrtzidis2011-10-171-0/+695
more of the work involved in indexing a translation unit and simplifies client implementations. Only C/ObjC for now, C++ (and comments) to come. llvm-svn: 142233
OpenPOWER on IntegriCloud