summaryrefslogtreecommitdiffstats
path: root/clang/lib/Index/Entity.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove the unused, unmaintained, incomplete 'Index' library.Douglas Gregor2012-04-131-270/+0
| | | | llvm-svn: 154672
* remove unneeded llvm:: namespace qualifiers on some core types now that ↵Chris Lattner2011-07-231-4/+4
| | | | | | | | LLVM.h imports them into the clang namespace. llvm-svn: 135852
* fix a bunch of comment typos found by codespell. Patch byChris Lattner2011-04-151-1/+1
| | | | | | Luis Felipe Strano Moraes! llvm-svn: 129559
* De-memberify the VarDecl and FunctionDecl StorageClass enums.John McCall2010-08-261-2/+2
| | | | | | This lets us remove Sema.h's dependency on Expr.h and Decl.h. llvm-svn: 112156
* Collect function definitions in the Indexer when indexing through the ASTs.Zhongxing Xu2010-07-061-15/+44
| | | | | | Add an API to get an Entity associated with a name in the global namespace. llvm-svn: 107642
* Local variables have no linkage, make invalid Entities.Zhongxing Xu2010-07-061-0/+4
| | | | llvm-svn: 107630
* Refrase comments.Zhongxing Xu2010-07-051-3/+3
| | | | llvm-svn: 107607
* Although in C++ class name has external linkage, usually the definition of the Zhongxing Xu2010-07-051-0/+8
| | | | | | | class is available in the same translation unit when it's needed. So we make all of them invalid Entity. llvm-svn: 107606
* Make FieldDecl an invalid Entity since it has no linkage.Zhongxing Xu2010-07-051-2/+2
| | | | llvm-svn: 107605
* Indexer: make FieldDecl an internal Entity.Zhongxing Xu2010-07-051-0/+6
| | | | llvm-svn: 107604
* Cleanup using StringRefKovarththanan Rajaratnam2010-03-121-6/+2
| | | | llvm-svn: 98339
* Move clients to use IdentifierInfo::getNameStart() instead of getName()Daniel Dunbar2009-10-181-3/+5
| | | | llvm-svn: 84436
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-11/+11
| | | | llvm-svn: 81346
* Support ObjC methods as Entities.Argyrios Kyrtzidis2009-07-291-26/+65
| | | | llvm-svn: 77547
* Use an IdentifierTable for names used for Entities.Argyrios Kyrtzidis2009-07-291-5/+5
| | | | llvm-svn: 77537
* Modify the Indexer class so that it can return the TranslationUnit that internalArgyrios Kyrtzidis2009-07-291-1/+2
| | | | | | decls originated from. llvm-svn: 77534
* Constify methods.Zhongxing Xu2009-07-241-1/+1
| | | | llvm-svn: 76939
* constify methods.Zhongxing Xu2009-07-231-1/+1
| | | | llvm-svn: 76873
* Remove the ASTContext parameter from Entity::getPrintableName().Argyrios Kyrtzidis2009-07-211-4/+15
| | | | llvm-svn: 76546
* Keep only canonical Decls in Entities.Argyrios Kyrtzidis2009-07-211-0/+2
| | | | llvm-svn: 76532
* Change the semantics for Entity.Argyrios Kyrtzidis2009-07-211-47/+77
| | | | | | | | | | Entity can now refer to declarations that are not visible outside the translation unit. It is a wrapper of a pointer union, it's either a Decl* for declarations that don't "cross" translation units, or an EntityImpl* which is associated with the specific "visible" Decl. Included is a test case for handling fields across translation units. llvm-svn: 76515
* Rename Entity::getName() to Entity::getPrintableName() to make its purposeZhongxing Xu2009-07-171-3/+3
| | | | | | more obvious. llvm-svn: 76167
* Check whether the IdentifierInfo is null, before using it.Argyrios Kyrtzidis2009-07-171-0/+3
| | | | llvm-svn: 76136
* Add getName() method to Entity.Zhongxing Xu2009-07-151-0/+7
| | | | llvm-svn: 75740
* fix file headers.Chris Lattner2009-07-121-1/+1
| | | | llvm-svn: 75437
* Introduce the 'Index' library.Argyrios Kyrtzidis2009-07-051-0/+132
Its purpose is to provide the basic infrastructure for cross-translation-unit analysis like indexing, refactoring, etc. Currently it is very "primitive" and with no type-names support. It can provide functionality like "show me all references of this function from these translation units". llvm-svn: 74802
OpenPOWER on IntegriCloud