Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Don't install Clang libraries. | Douglas Gregor | 2009-08-23 | 1 | -0/+3 | |
| | | | | llvm-svn: 79824 | |||||
* | For a CXXOperatorCallExpr, fix the order that StmtLocResolver uses to check ↵ | Argyrios Kyrtzidis | 2009-07-31 | 1 | -0/+33 | |
| | | | | | | subexpressions. llvm-svn: 77713 | |||||
* | Lexically order files. | Ted Kremenek | 2009-07-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 77607 | |||||
* | Fix Selector <-> GlobalSelector conversion. | Argyrios Kyrtzidis | 2009-07-30 | 1 | -2/+3 | |
| | | | | llvm-svn: 77575 | |||||
* | Fix gcc warning. | Eli Friedman | 2009-07-30 | 1 | -2/+2 | |
| | | | | llvm-svn: 77555 | |||||
* | Add support for ObjC message expressions, in the Analyzer: | Argyrios Kyrtzidis | 2009-07-30 | 1 | -2/+337 | |
| | | | | | | | -Accept an ObjC method and find all message expressions that this method may respond to. -Accept an ObjC message expression and find all methods that may respond to it. llvm-svn: 77551 | |||||
* | Update CMake. | Argyrios Kyrtzidis | 2009-07-30 | 1 | -0/+5 | |
| | | | | llvm-svn: 77548 | |||||
* | Support ObjC methods as Entities. | Argyrios Kyrtzidis | 2009-07-29 | 2 | -34/+81 | |
| | | | | llvm-svn: 77547 | |||||
* | Index the selectors and provide the translation units that contain them | Argyrios Kyrtzidis | 2009-07-29 | 1 | -3/+40 | |
| | | | | | | through the IndexProvider. llvm-svn: 77543 | |||||
* | Introduce SelectorMap whose purpose is to map selectors to objc methods and ↵ | Argyrios Kyrtzidis | 2009-07-29 | 1 | -0/+85 | |
| | | | | | | | | message exprs, inside a particular ASTContext. llvm-svn: 77541 | |||||
* | Find references inside blocks. | Argyrios Kyrtzidis | 2009-07-29 | 2 | -0/+16 | |
| | | | | llvm-svn: 77540 | |||||
* | Use helper class ASTVisitor to fully traverse an AST. | Argyrios Kyrtzidis | 2009-07-29 | 2 | -80/+120 | |
| | | | | llvm-svn: 77539 | |||||
* | Introduce the GlobalSelector class in the Indexing library. | Argyrios Kyrtzidis | 2009-07-29 | 2 | -0/+74 | |
| | | | | | | GlobalSelector is an ASTContext-independent way to refer to Objective C selectors. llvm-svn: 77538 | |||||
* | Use an IdentifierTable for names used for Entities. | Argyrios Kyrtzidis | 2009-07-29 | 3 | -16/+16 | |
| | | | | llvm-svn: 77537 | |||||
* | -Introduce the idx::Analyzer class used for getting indexing information, ↵ | Argyrios Kyrtzidis | 2009-07-29 | 1 | -0/+104 | |
| | | | | | | | | | | like finding references of a declaration across translation units. -Modify the index-test tool to use it. llvm-svn: 77536 | |||||
* | Introduce TULocation and TULocationHandler classes. | Argyrios Kyrtzidis | 2009-07-29 | 1 | -0/+1 | |
| | | | | | | | TULocation is like ASTLocation but also contains the TranslationUnit* that the ASTLocation originated from. llvm-svn: 77535 | |||||
* | Modify the Indexer class so that it can return the TranslationUnit that internal | Argyrios Kyrtzidis | 2009-07-29 | 2 | -3/+12 | |
| | | | | | | decls originated from. llvm-svn: 77534 | |||||
* | Constify ASTLocation::print. | Argyrios Kyrtzidis | 2009-07-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 77532 | |||||
* | Introduce a helper template for the Handler classes and use it instead | Argyrios Kyrtzidis | 2009-07-29 | 1 | -28/+0 | |
| | | | | | | of the iterator of the Indexer class. llvm-svn: 77528 | |||||
* | Add an assert. | Argyrios Kyrtzidis | 2009-07-29 | 1 | -0/+1 | |
| | | | | llvm-svn: 77527 | |||||
* | Accept Handler objects in parameters as references. | Argyrios Kyrtzidis | 2009-07-29 | 2 | -6/+7 | |
| | | | | | | | 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 Kyrtzidis | 2009-07-29 | 2 | -2/+2 | |
| | | | | llvm-svn: 77525 | |||||
* | -Make IndexProvider an abstract interface for getting indexing information. | Argyrios Kyrtzidis | 2009-07-29 | 4 | -63/+113 | |
| | | | | | | -Introduce Indexer as an IndexProvider implementation. llvm-svn: 77524 | |||||
* | Constify methods. | Zhongxing Xu | 2009-07-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 76939 | |||||
* | constify methods. | Zhongxing Xu | 2009-07-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 76873 | |||||
* | Remove the ASTContext parameter from Entity::getPrintableName(). | Argyrios Kyrtzidis | 2009-07-21 | 2 | -4/+17 | |
| | | | | llvm-svn: 76546 | |||||
* | Keep only canonical Decls in Entities. | Argyrios Kyrtzidis | 2009-07-21 | 1 | -0/+2 | |
| | | | | llvm-svn: 76532 | |||||
* | Change the semantics for Entity. | Argyrios Kyrtzidis | 2009-07-21 | 5 | -62/+163 | |
| | | | | | | | | | | 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 | |||||
* | Handle references from ObjCIvarRefExprs. | Argyrios Kyrtzidis | 2009-07-21 | 2 | -4/+17 | |
| | | | | llvm-svn: 76507 | |||||
* | The children statements might be NULL. Check for this case in | Zhongxing Xu | 2009-07-20 | 1 | -2/+3 | |
| | | | | | | isContainedInStatement(). llvm-svn: 76408 | |||||
* | Introduce ASTLocation::getReferencedDecl(), for getting the declaration that ↵ | Argyrios Kyrtzidis | 2009-07-18 | 1 | -0/+24 | |
| | | | | | | the ASTLocation references. llvm-svn: 76336 | |||||
* | Handle invalid ASTLocations instead of asserting. | Argyrios Kyrtzidis | 2009-07-18 | 1 | -1/+6 | |
| | | | | llvm-svn: 76335 | |||||
* | Remove StmtLocResolver::VisitObjCIvarRefExpr, it was only there to avoid ↵ | Argyrios Kyrtzidis | 2009-07-18 | 1 | -7/+0 | |
| | | | | | | | | returning an implicit 'self' instead of the ivar. Since implicit 'self' no longer has a source location, it's not needed. (plus we also want to check for a 'self' that is visible in source code) llvm-svn: 76296 | |||||
* | Move the functionality of ASTContext::getCanonicalDecl(), into a virtual ↵ | Argyrios Kyrtzidis | 2009-07-18 | 1 | -5/+5 | |
| | | | | | | method Decl::getCanonicalDecl(). llvm-svn: 76273 | |||||
* | Resolve a location that is inside an ObjCMethodDecl. | Argyrios Kyrtzidis | 2009-07-18 | 1 | -1/+58 | |
| | | | | llvm-svn: 76272 | |||||
* | Make ASTLocation accept a Stmt that is inside an ObjCMethodDecl. | Argyrios Kyrtzidis | 2009-07-18 | 1 | -3/+19 | |
| | | | | llvm-svn: 76271 | |||||
* | Search through all Decls that are DeclContexts. | Argyrios Kyrtzidis | 2009-07-18 | 1 | -7/+2 | |
| | | | | llvm-svn: 76270 | |||||
* | Rename Entity::getName() to Entity::getPrintableName() to make its purpose | Zhongxing Xu | 2009-07-17 | 1 | -3/+3 | |
| | | | | | | more obvious. llvm-svn: 76167 | |||||
* | As suggested by Argyrios, revert r76159 and make "FindImmediateParent" | Zhongxing Xu | 2009-07-17 | 1 | -11/+1 | |
| | | | | | | a public static method of ASTLocation. llvm-svn: 76166 | |||||
* | Relax the assertion in ASTLocation's ctor: if the decl is not the immediate | Zhongxing Xu | 2009-07-17 | 1 | -0/+10 | |
| | | | | | | | | | parent of the stmt, find the immediate parent for the stmt. This is because sometimes we cannot get the immediate decl of the stmt when creating the ASTLocation. We can only get a parent of the stmt. llvm-svn: 76159 | |||||
* | If we are not doing a Debug build, no need for the debugging print methods. | Argyrios Kyrtzidis | 2009-07-17 | 1 | -2/+6 | |
| | | | | llvm-svn: 76138 | |||||
* | Check whether the IdentifierInfo is null, before using it. | Argyrios Kyrtzidis | 2009-07-17 | 1 | -0/+3 | |
| | | | | llvm-svn: 76136 | |||||
* | Add getName() method to Entity. | Zhongxing Xu | 2009-07-15 | 1 | -0/+7 | |
| | | | | llvm-svn: 75740 | |||||
* | In ResolveLocationInAST, handle locations that are inside TagDecl definitions. | Argyrios Kyrtzidis | 2009-07-14 | 1 | -4/+17 | |
| | | | | llvm-svn: 75594 | |||||
* | In DeclReferenceMap, map FieldDecls to the MemberExprs that reference them. | Argyrios Kyrtzidis | 2009-07-14 | 1 | -0/+6 | |
| | | | | llvm-svn: 75593 | |||||
* | fix file headers. | Chris Lattner | 2009-07-12 | 4 | -4/+4 | |
| | | | | llvm-svn: 75437 | |||||
* | Simplify a bit by using functions instead of checking enum values. No ↵ | Argyrios Kyrtzidis | 2009-07-10 | 1 | -15/+30 | |
| | | | | | | functionality change. llvm-svn: 75221 | |||||
* | Refactor DeclLocResolver/StmtLocResolver into a more functional style by ↵ | Argyrios Kyrtzidis | 2009-07-07 | 1 | -187/+117 | |
| | | | | | | | | removing the search state and by having their Visit* methods return the ASTLocation directly. llvm-svn: 74887 | |||||
* | Update CMake files. | Argyrios Kyrtzidis | 2009-07-06 | 1 | -0/+3 | |
| | | | | llvm-svn: 74864 | |||||
* | Some changes to ASTLocation's methods | Argyrios Kyrtzidis | 2009-07-06 | 1 | -2/+5 | |
| | | | | | | | | -Change hasStmt() to isStmt() -Add isDecl() -Add getSourceRange() llvm-svn: 74862 |