summaryrefslogtreecommitdiffstats
path: root/clang/lib/Index/Indexer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove the unused, unmaintained, incomplete 'Index' library.Douglas Gregor2012-04-131-121/+0
| | | | llvm-svn: 154672
* Modify some deleted function methods to better reflect reality:Alexis Hunt2011-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | - New isDefined() function checks for deletedness - isThisDeclarationADefinition checks for deletedness - New doesThisDeclarationHaveABody() does what isThisDeclarationADefinition() used to do - The IsDeleted bit is not propagated across redeclarations - isDeleted() now checks the canoncial declaration - New isDeletedAsWritten() does what it says on the tin. - isUserProvided() now correct (thanks Richard!) This fixes the bug that we weren't catching void foo() = delete; void foo() {} as being a redefinition. llvm-svn: 131013
* Collect function definitions in the Indexer when indexing through the ASTs.Zhongxing Xu2010-07-061-2/+19
| | | | | | Add an API to get an Entity associated with a name in the global namespace. llvm-svn: 107642
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-4/+4
| | | | llvm-svn: 81346
* Index the selectors and provide the translation units that contain themArgyrios Kyrtzidis2009-07-291-3/+40
| | | | | | through the IndexProvider. llvm-svn: 77543
* Modify the Indexer class so that it can return the TranslationUnit that internalArgyrios Kyrtzidis2009-07-291-2/+10
| | | | | | decls originated from. llvm-svn: 77534
* Introduce a helper template for the Handler classes and use it insteadArgyrios Kyrtzidis2009-07-291-28/+0
| | | | | | of the iterator of the Indexer class. llvm-svn: 77528
* Add an assert.Argyrios Kyrtzidis2009-07-291-0/+1
| | | | llvm-svn: 77527
* Accept Handler objects in parameters as references.Argyrios Kyrtzidis2009-07-291-3/+3
| | | | | | | Reinforces that they shouldn't be null and it's a bit more natural when they are passed as stack objects. llvm-svn: 77526
* Rename EntityHandler::HandleEntity to Handle.Argyrios Kyrtzidis2009-07-291-1/+1
| | | | llvm-svn: 77525
* -Make IndexProvider an abstract interface for getting indexing information.Argyrios Kyrtzidis2009-07-291-0/+86
-Introduce Indexer as an IndexProvider implementation. llvm-svn: 77524
OpenPOWER on IntegriCloud