Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Renamed misleading getSourceRange -> getLocalSourceRange and ↵ | Abramo Bagnara | 2010-05-20 | 1 | -1/+1 |
| | | | | | | getFullSourceRange -> getSourceRange for TypeLoc. llvm-svn: 104220 | ||||
* | Add raw_ostream operators to NamedDecl for convenience. Switch over all ↵ | Benjamin Kramer | 2010-04-17 | 1 | -2/+2 |
| | | | | | | | | users of getNameAsString on a stream. The next step is to print the name directly into the stream, avoiding a temporary std::string copy. llvm-svn: 101632 | ||||
* | Clone the full Type hierarchy into the TypeLoc hierarchy. Normalize | John McCall | 2009-10-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | TypeLoc class names to be $(Type classname)Loc. Rewrite the visitor. Provide skeleton implementations for all the new TypeLocs. Handle all cases in PCH. Handle a few more cases when inserting location information in SemaType. It should be extremely straightforward to add new location information to existing TypeLoc objects now. llvm-svn: 84386 | ||||
* | Modify ASTLocation and apart from being a Decl or Stmt, allow it to also be: | Argyrios Kyrtzidis | 2009-09-29 | 1 | -90/+51 |
| | | | | | | | -A NamedDecl reference -A TypeLoc llvm-svn: 83095 | ||||
* | Add more const-goodness to ASTLocation. | Argyrios Kyrtzidis | 2009-09-29 | 1 | -12/+12 |
| | | | | llvm-svn: 83087 | ||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -8/+8 |
| | | | | llvm-svn: 81346 | ||||
* | Find references inside blocks. | Argyrios Kyrtzidis | 2009-07-29 | 1 | -0/+12 |
| | | | | llvm-svn: 77540 | ||||
* | Constify ASTLocation::print. | Argyrios Kyrtzidis | 2009-07-29 | 1 | -2/+2 |
| | | | | llvm-svn: 77532 | ||||
* | Handle references from ObjCIvarRefExprs. | Argyrios Kyrtzidis | 2009-07-21 | 1 | -0/+4 |
| | | | | 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 | ||||
* | Make ASTLocation accept a Stmt that is inside an ObjCMethodDecl. | Argyrios Kyrtzidis | 2009-07-18 | 1 | -3/+19 |
| | | | | llvm-svn: 76271 | ||||
* | 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 | ||||
* | 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 | ||||
* | Move ASTLocation and DeclReferenceMap from the AST library to the Index library. | Argyrios Kyrtzidis | 2009-07-06 | 1 | -0/+91 |
llvm-svn: 74859 |